feat: mdl config file

This commit is contained in:
Michele Cereda
2023-11-18 19:20:07 +01:00
parent 5bc5326090
commit 6d229adee2
2 changed files with 5 additions and 3 deletions

3
.mdlrc Normal file
View File

@@ -0,0 +1,3 @@
# skip MD013/line-length
# skip MD033/no-inline-html
rules "~MD013", "~MD033"

View File

@@ -41,9 +41,8 @@ repos:
# exclude: .* # exclude: .*
# files: ansible/ # files: ansible/
- repo: https://github.com/markdownlint/markdownlint - repo: https://github.com/markdownlint/markdownlint
# requires `ruby` 2.7.7 or higher and the 'mdl' gem
# uses .mdlrc for configuration
rev: v0.12.0 rev: v0.12.0
hooks: hooks:
- id: markdownlint - id: markdownlint
args:
- -r "~MD013" # ignore line-length rule
- -r "~MD033" # ignore no-inline-html rule