Add a Markdownlint style file

This way we'll be able to customize some of the rules, which doesn't
seem to be possible when using the `.mdlrc` file.

For simplification purposes, instead of including all rules one by one,
we're excluding the few rules we don't use.
This commit is contained in:
Javi Martín
2024-06-17 19:34:28 +02:00
parent 035bfeb3b1
commit da1bac3638
2 changed files with 8 additions and 1 deletions

7
.mdl_style.rb Normal file
View File

@@ -0,0 +1,7 @@
all
exclude_rule "MD013"
exclude_rule "MD024"
exclude_rule "MD029"
exclude_rule "MD040"
exclude_rule "MD041"
exclude_rule "MD046"

2
.mdlrc
View File

@@ -1 +1 @@
rules "MD001", "MD002", "MD003", "MD004", "MD005", "MD006", "MD007", "MD009", "MD010", "MD011", "MD012", "MD014", "MD018", "MD019", "MD020", "MD021", "MD022", "MD023", "MD025", "MD026", "MD027", "MD028", "MD030", "MD031", "MD032", "MD033", "MD034", "MD035", "MD036", "MD037", "MD038", "MD039", "MD047"
style ".mdl_style.rb"