mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 08:30:48 +00:00
Merge branch 'develop' into improvement/install-tf-and-packer-for-linting
This commit is contained in:
commit
3e3b918cbe
3 changed files with 41 additions and 11 deletions
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"MD013": {
|
||||
"code_blocks": false,
|
||||
"tables": false
|
||||
},
|
||||
"MD024": {
|
||||
"allow_different_nesting": true
|
||||
},
|
||||
"default": true
|
||||
}
|
40
.mdl_config.yaml
Normal file
40
.mdl_config.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
|
||||
# Default state for all rules
|
||||
default: true
|
||||
|
||||
# MD003/heading-style/header-style - Heading style
|
||||
MD003:
|
||||
# Enforce the ATX-closed style of header
|
||||
style: "atx_closed"
|
||||
|
||||
# MD004/ul-style - Unordered list style
|
||||
MD004:
|
||||
# Enforce dashes for unordered lists
|
||||
style: "dash"
|
||||
|
||||
# MD013/line-length - Line length
|
||||
MD013:
|
||||
# Do not enforce for code blocks
|
||||
code_blocks: false
|
||||
# Do not enforce for tables
|
||||
tables: false
|
||||
|
||||
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the
|
||||
# same content
|
||||
MD024:
|
||||
# Allow headers with the same content as long as they are not in the same
|
||||
# parent heading
|
||||
allow_different_nesting: true
|
||||
|
||||
# MD029/ol-prefix - Ordered list item prefix
|
||||
MD029:
|
||||
# Enforce the `1.` style for ordered lists
|
||||
style: "one"
|
||||
|
||||
# MD033/no-inline-html - Inline HTML
|
||||
MD033:
|
||||
# The h1 and img elements are allowed to permit header images
|
||||
allowed_elements:
|
||||
- h1
|
||||
- img
|
|
@ -35,7 +35,7 @@ repos:
|
|||
hooks:
|
||||
- id: markdownlint
|
||||
args:
|
||||
- --config=.mdl_config.json
|
||||
- --config=.mdl_config.yaml
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v2.3.2
|
||||
hooks:
|
||||
|
|
Loading…
Reference in a new issue