fix markdown lint on CI (#114) All checks were successful lint / lint (push) Successful in 7s
All checks were successful
lint / lint (push) Successful in 7s
Reviewed-on: #114 Reviewed-by: silverwind <silverwind@noreply.gitea.io>
This commit was merged in pull request #114.
This commit is contained in:
@@ -8,7 +8,8 @@ jobs: | ||||
name: lint | ||||
runs-on: ubuntu-latest | ||||
steps: | ||||
- uses: actions/checkout@v3 | ||||
- name: install markdownlint-cli | ||||
run: npm install -g markdownlint-cli | ||||
- name: lint | ||||
uses: https://github.com/articulate/actions-markdownlint@v1 | ||||
with: | ||||
files: '**/*.md' | ||||
run: markdownlint '**/*.md' |
18 .markdownlint.yaml Normal file
18
.markdownlint.yaml Normal file @@ -0,0 +1,18 @@ | ||||
commands-show-output: false | ||||
fenced-code-language: false | ||||
first-line-h1: false | ||||
header-increment: false | ||||
line-length: {code_blocks: false, tables: false, stern: true, line_length: -1} | ||||
no-alt-text: false | ||||
no-bare-urls: false | ||||
no-blanks-blockquote: false | ||||
no-duplicate-header: {allow_different_nesting: true} | ||||
no-emphasis-as-header: false | ||||
no-empty-links: false | ||||
no-hard-tabs: {code_blocks: false} | ||||
no-inline-html: false | ||||
no-space-in-code: false | ||||
no-space-in-emphasis: false | ||||
no-trailing-punctuation: false | ||||
no-trailing-spaces: {br_spaces: 0} | ||||
single-h1: false |
Reference in New Issue
Block a user