diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index c2016ba..e5ced0a 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -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' \ No newline at end of file + run: markdownlint '**/*.md' \ No newline at end of file diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..666f0e8 --- /dev/null +++ b/.markdownlint.yaml @@ -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 \ No newline at end of file