mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Switch to a YAML markdownlint configuration file
This converts the existing `.mdl_config.json` file to an equivalent `.mdl_config.yaml` file. The reference in the markdownlint pre-commit hook configuration is updated to match. Co-authored-by: Shane Frasier <jeremy.frasier@trio.dhs.gov>
This commit is contained in:
parent
afc6bd6f6d
commit
ce173f401d
3 changed files with 25 additions and 26 deletions
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
"MD003": {
|
||||
"style": "atx_closed"
|
||||
},
|
||||
"MD004": {
|
||||
"style": "dash"
|
||||
},
|
||||
"MD013": {
|
||||
"code_blocks": false,
|
||||
"tables": false
|
||||
},
|
||||
"MD024": {
|
||||
"allow_different_nesting": true
|
||||
},
|
||||
"MD029": {
|
||||
"style": "one"
|
||||
},
|
||||
"MD033": {
|
||||
"allowed_elements": [
|
||||
"h1",
|
||||
"img"
|
||||
]
|
||||
},
|
||||
"default": true
|
||||
}
|
24
.mdl_config.yaml
Normal file
24
.mdl_config.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
|
||||
default: true
|
||||
|
||||
MD003:
|
||||
style: "atx_closed"
|
||||
|
||||
MD004:
|
||||
style: "dash"
|
||||
|
||||
MD013:
|
||||
code_blocks: false
|
||||
tables: false
|
||||
|
||||
MD024:
|
||||
allow_different_nesting: true
|
||||
|
||||
MD029:
|
||||
style: "one"
|
||||
|
||||
MD033:
|
||||
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.0
|
||||
hooks:
|
||||
|
|
Loading…
Reference in a new issue