统一 markdown lint时不采用的规则为 ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007

This commit is contained in:
Anduin Xue 2022-11-03 12:22:26 +00:00
parent b1a95d59e2
commit db5dcf610a
3 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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

View File

@ -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