summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-09-04 17:40:21 +0000
committerClement Ho <408677-ClemMakesApps@users.noreply.gitlab.com>2019-09-04 17:40:21 +0000
commit1e44ea9162051ce6511d0a65d4779715032d6cac (patch)
tree06124994f6f6c7a4dfdea9689796ff9edb279679 /package.json
parentf88f12477ad566c576d88bdbb38fdd5365981b78 (diff)
downloadgitlab-ce-1e44ea9162051ce6511d0a65d4779715032d6cac.tar.gz
Add markdownlint-cli to yarn dependencies
This is the tool that we use to lint the Markdown files. Let's add it to yarn.lock so that we can use it in development. Pinned to 0.18.0.
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 247993626a6..23e611ae6cc 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"karma": "BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js",
"karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
"karma-start": "BABEL_ENV=karma karma start config/karma.config.js",
+ "markdownlint": "markdownlint -c .markdownlint.json 'doc/**/*.md'",
"postinstall": "node ./scripts/frontend/postinstall.js",
"prettier-staged": "node ./scripts/frontend/prettier.js check",
"prettier-staged-save": "node ./scripts/frontend/prettier.js save",
@@ -185,6 +186,7 @@
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
+ "markdownlint-cli": "0.18.0",
"md5": "^2.2.1",
"node-sass": "^4.12.0",
"nodemon": "^1.18.9",