ci(md-lint): fix linter tests

Signed-off-by: No <no@anonymousplanet.org>
This commit is contained in:
Than Harrison 2024-07-14 03:13:54 -04:00
parent 5ffdecc756
commit 23ec59fe97
No known key found for this signature in database
2 changed files with 29 additions and 1 deletions

View File

@ -39,7 +39,7 @@ jobs:
DISABLE: COPYPASTE,SPELL,HTML
DISABLE_LINTERS: REPOSITORY_GITLEAKS,CSS_SCSS_LINT,BASH_SHELLCHECK,JSON_JSONLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_GIT_DIFF,YAML_V8R,MARKDOWN_MARKDOWNLINT_NO_TRAILING_SPACES,MARKDOWN_MARKDOWNLINT_NO_DUPLICATE_HEADING
DISABLE_ERRORS_LINTERS: CSS_STYLELINT,MARKDOWN_MARKDOWN_LINK_CHECK,YAML_YAMLLINT,DOCKERFILE_HADOLINT,REPOSITORY_TRIVY,REPOSITORY_CHECKOV,REPOSITORY_GITLEAKS
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: '(export/|briar\.md|donations\.md|LICENSE\.md)'
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: '(_layouts/|assets/|keys/|media/|export/|briar\.md|donations\.md|guide\.md|LICENSE\.md)'
- name: Archive
uses: actions/upload-artifact@v4

28
.markdownlint.yaml Normal file
View File

@ -0,0 +1,28 @@
default: true
line-length: false
ul-indent:
indent: 4
no-inline-html: false
code-block-style: false
no-hard-tabs: true
emphasis-style:
style: "asterisk"
no-duplicate-header: false
reference-links-images: false
table-pipe-style: leading_only
list-marker-space: false
MD001: false
MD013:
line_length: 100
heading_line_length: 100
code_block_line_length: 200
code_blocks: false
tables: false
headings: false
strict: false
stern: false
MD025:
level: 3
MD026:
punctuation: ",;:!。,;:"
MD034: false