统一 markdown lint时不采用的规则为 ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
This commit is contained in:
parent
b1a95d59e2
commit
db5dcf610a
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
- run: node ./.github/readme-generate.js
|
- run: node ./.github/readme-generate.js
|
||||||
# Lint issues first. (Without node_modules)
|
# Lint issues first. (Without node_modules)
|
||||||
- name: Lint markdown files
|
- 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: pip install -r requirements.txt
|
||||||
- run: mkdocs build --strict
|
- run: mkdocs build --strict
|
||||||
# Do textlint fix.
|
# Do textlint fix.
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: sudo gem install mdl
|
run: sudo gem install mdl
|
||||||
- name: Lint markdown files
|
- 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: pip install -r requirements.txt
|
||||||
- run: mkdocs build --strict
|
- run: mkdocs build --strict
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -13,7 +13,7 @@ tput setaf 2; echo "Generating new readme and mkdocs"; tput sgr0
|
||||||
node ./.github/readme-generate.js
|
node ./.github/readme-generate.js
|
||||||
|
|
||||||
tput setaf 2; echo "Running markdown lint to check issues."; tput sgr0
|
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
|
tput setaf 2; echo "Installing python requirements..."; tput sgr0
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user