summaryrefslogtreecommitdiff
path: root/.markdownlint.json
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2019-08-26 20:31:04 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-08-26 20:31:04 +0000
commit6f3fa06fd182b5d758bdb8c05ca90bced45cd3d7 (patch)
tree113c125e888900dc83cfe13099e7ba93713b5c37 /.markdownlint.json
parentd58fb67f808137ddb1d3e1a6d03dfb2bfa93c13b (diff)
downloadgitlab-ce-6f3fa06fd182b5d758bdb8c05ca90bced45cd3d7.tar.gz
Change docs markdown linter
Change from ruby mdl to node markdownlint, add config file to root of project, delete old config file, update exceptions, and fix one doc that was didn't meet standards
Diffstat (limited to '.markdownlint.json')
-rw-r--r--.markdownlint.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/.markdownlint.json b/.markdownlint.json
new file mode 100644
index 00000000000..2c40c0859f0
--- /dev/null
+++ b/.markdownlint.json
@@ -0,0 +1,31 @@
+{
+ "default": true,
+ "first-header-h1": true,
+ "header-style": {
+ "style": "atx"
+ },
+ "ul-style": {
+ "style": "dash"
+ },
+ "line-length": false,
+ "commands-show-output": false,
+ "no-duplicate-header": {
+ "allow_different_nesting": true
+ },
+ "no-trailing-punctuation": {
+ "punctuation": ".,;:!。,;:!?"
+ },
+ "ol-prefix": {
+ "style": "one"
+ },
+ "no-inline-html": false,
+ "hr-style": {
+ "style": "---"
+ },
+ "no-emphasis-as-heading": false,
+ "fenced-code-language": false,
+ "first-line-h1": false,
+ "code-block-style": {
+ "style": "fenced"
+ }
+}