mirror of
https://gitea.com/gitea/awesome-gitea
synced 2024-11-24 23:12:37 +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
|
name: lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: install markdownlint-cli
|
||||||
|
run: npm install -g markdownlint-cli
|
||||||
- name: lint
|
- name: lint
|
||||||
uses: https://github.com/articulate/actions-markdownlint@v1
|
run: markdownlint '**/*.md'
|
||||||
with:
|
|
||||||
files: '**/*.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