summaryrefslogtreecommitdiff
path: root/.mdlrc.style
diff options
context:
space:
mode:
authorMarkus Koller <mkoller@gitlab.com>2019-07-09 03:01:04 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-07-09 03:01:04 +0000
commit385233981aca05f5c2ac2cf68af3688539bba62e (patch)
treebf163dd23549d8a876d7a17fc8e035682f472c68 /.mdlrc.style
parent8a2c53d6400287bbb29056c4d007ee571b292937 (diff)
downloadgitlab-ce-385233981aca05f5c2ac2cf68af3688539bba62e.tar.gz
Centralize config for markdownlint
The configuration is currently only specified in CI, by moving it into `.mdlrc` we get immediate feedback locally in supported editors. To ensure `mdl` is available it's also added to the `Gemfile`, though CI will still use the version installed in the `gitlab-docs-lint` image.
Diffstat (limited to '.mdlrc.style')
-rw-r--r--.mdlrc.style7
1 files changed, 7 insertions, 0 deletions
diff --git a/.mdlrc.style b/.mdlrc.style
new file mode 100644
index 00000000000..30abf03f462
--- /dev/null
+++ b/.mdlrc.style
@@ -0,0 +1,7 @@
+# See https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
+
+rule 'MD001'
+# False positives, see https://github.com/markdownlint/markdownlint/issues/261
+# rule 'MD004', style: :dash
+rule 'MD032'
+rule 'MD034'