From da1bac36388118e9397ce13d6b59a40cc62cd2ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 17 Jun 2024 19:34:28 +0200 Subject: [PATCH] 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. --- .mdl_style.rb | 7 +++++++ .mdlrc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .mdl_style.rb diff --git a/.mdl_style.rb b/.mdl_style.rb new file mode 100644 index 000000000..873a1b225 --- /dev/null +++ b/.mdl_style.rb @@ -0,0 +1,7 @@ +all +exclude_rule "MD013" +exclude_rule "MD024" +exclude_rule "MD029" +exclude_rule "MD040" +exclude_rule "MD041" +exclude_rule "MD046" diff --git a/.mdlrc b/.mdlrc index 14f554429..27f388245 100644 --- a/.mdlrc +++ b/.mdlrc @@ -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"