mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
Add config file for markdownlint
This config file turns off the "line too long" rule when within a code block or a table. Often there is no way to avoid going over 80 lines in such cases.
This commit is contained in:
parent
a13597d233
commit
1843ca0b48
2 changed files with 9 additions and 0 deletions
7
.mdl_config.json
Normal file
7
.mdl_config.json
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"MD013": {
|
||||||
|
"code_blocks": false,
|
||||||
|
"tables": false
|
||||||
|
},
|
||||||
|
"default": true
|
||||||
|
}
|
|
@ -30,6 +30,8 @@ repos:
|
||||||
# GitHub's autorecognition fu to work, so we should leave it
|
# GitHub's autorecognition fu to work, so we should leave it
|
||||||
# alone.
|
# alone.
|
||||||
exclude: LICENSE.md
|
exclude: LICENSE.md
|
||||||
|
args:
|
||||||
|
- --config=.mdl_config.json
|
||||||
- repo: https://github.com/adrienverge/yamllint
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
rev: v1.16.0
|
rev: v1.16.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Reference in a new issue