Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/.mdlrc
diff options
context:
space:
mode:
authorMarkus Koller <mkoller@gitlab.com>2019-07-09 06:01:04 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-07-09 06:01:04 +0300
commit385233981aca05f5c2ac2cf68af3688539bba62e (patch)
treebf163dd23549d8a876d7a17fc8e035682f472c68 /.mdlrc
parent8a2c53d6400287bbb29056c4d007ee571b292937 (diff)
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')
-rw-r--r--.mdlrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.mdlrc b/.mdlrc
new file mode 100644
index 00000000000..b2127dadc22
--- /dev/null
+++ b/.mdlrc
@@ -0,0 +1,4 @@
+# See https://github.com/markdownlint/markdownlint/blob/master/docs/configuration.md
+
+ignore_front_matter true
+style File.expand_path('.mdlrc.style', __dir__)