Skip to content

Commit

Permalink
ci(md-lint): fix linter tests
Browse files Browse the repository at this point in the history
Signed-off-by: No <no@anonymousplanet.org>
  • Loading branch information
nopeitsnothing committed Jul 14, 2024
1 parent 5ffdecc commit 23ec59f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 23ec59f

Please sign in to comment.