mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: mdl config file
This commit is contained in:
3
.mdlrc
Normal file
3
.mdlrc
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# skip MD013/line-length
|
||||||
|
# skip MD033/no-inline-html
|
||||||
|
rules "~MD013", "~MD033"
|
||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user