1
0
Fork 0
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:
Nicholas McDonnell 2021-06-18 03:51:38 -04:00
parent afc6bd6f6d
commit ce173f401d
No known key found for this signature in database
GPG key ID: 7994ADE2A56BE5D1
3 changed files with 25 additions and 26 deletions

View file

@ -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
View 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

View file

@ -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: