Skip to content

Commit db5dcf6

Browse files
committed
统一 markdown lint时不采用的规则为 ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
1 parent b1a95d5 commit db5dcf6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- run: node ./.github/readme-generate.js
2424
# Lint issues first. (Without node_modules)
2525
- name: Lint markdown files
26-
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD007
26+
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
2727
- run: pip install -r requirements.txt
2828
- run: mkdocs build --strict
2929
# Do textlint fix.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install packages
1717
run: sudo gem install mdl
1818
- name: Lint markdown files
19-
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD007
19+
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
2020
- run: pip install -r requirements.txt
2121
- run: mkdocs build --strict
2222
- run: npm install

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tput setaf 2; echo "Generating new readme and mkdocs"; tput sgr0
1313
node ./.github/readme-generate.js
1414

1515
tput setaf 2; echo "Running markdown lint to check issues."; tput sgr0
16-
mdl ./dishes ./tips -r ~MD036,~MD024,~MD004,~MD029,~MD007
16+
mdl ./dishes ./tips -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
1717

1818
tput setaf 2; echo "Installing python requirements..."; tput sgr0
1919
pip install -r requirements.txt

0 commit comments

Comments
 (0)