Skip to content

Commit

Permalink
统一 markdown lint时不采用的规则为 ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
Browse files Browse the repository at this point in the history
  • Loading branch information
Anduin2017 committed Nov 3, 2022
1 parent b1a95d5 commit db5dcf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- run: node ./.github/readme-generate.js
# Lint issues first. (Without node_modules)
- name: Lint markdown files
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD007
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
- run: pip install -r requirements.txt
- run: mkdocs build --strict
# Do textlint fix.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install packages
run: sudo gem install mdl
- name: Lint markdown files
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD007
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
- run: pip install -r requirements.txt
- run: mkdocs build --strict
- run: npm install
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tput setaf 2; echo "Generating new readme and mkdocs"; tput sgr0
node ./.github/readme-generate.js

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

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

0 comments on commit db5dcf6

Please sign in to comment.