add markdownlint

pull/293/head
Septs 2022-02-05 17:42:25 +08:00
parent 47c3b43127
commit d56f13b57c
No known key found for this signature in database
GPG Key ID: 6EC3B9D7E6EE828F
3 changed files with 2 additions and 6 deletions

View File

@ -11,9 +11,5 @@ trim_trailing_whitespace = true
[*.py]
indent_size = 4
[*.md]
indent_size = 2
trim_trailing_whitespace = false
[layouts/**/*]
insert_final_newline = false

View File

@ -19,7 +19,7 @@ jobs:
submodules: true
fetch-depth: 0
- uses: actions/setup-node@v2
- run: npx markdownlint .
- run: npx markdownlint-cli .
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:

View File

@ -17,7 +17,7 @@ jobs:
submodules: true
fetch-depth: 0
- uses: actions/setup-node@v2
- run: npx markdownlint .
- run: npx markdownlint-cli .
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with: