mirror of
https://gitea.com/gitea/awesome-gitea.git
synced 2024-11-10 04:37:23 +01:00
fix markdown lint on CI (#114)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/114 Reviewed-by: silverwind <silverwind@noreply.gitea.io>
This commit is contained in:
parent
ae95884ddb
commit
08931734e0
@ -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
|
Loading…
Reference in New Issue
Block a user