diff options
author | Markus Koller <mkoller@gitlab.com> | 2019-07-09 03:01:04 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-07-09 03:01:04 +0000 |
commit | 385233981aca05f5c2ac2cf68af3688539bba62e (patch) | |
tree | bf163dd23549d8a876d7a17fc8e035682f472c68 /.mdlrc | |
parent | 8a2c53d6400287bbb29056c4d007ee571b292937 (diff) | |
download | gitlab-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')
-rw-r--r-- | .mdlrc | 4 |
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__) |