From 193f0d85cb6d92950762d38cba43cc055c09121a Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 7 Jul 2017 21:53:55 +0300 Subject: [PATCH] Enable documentation linting (#56) This patch enables documentation linting as a part of `npm run lint` command. References #14. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e4d17ba3..e48c89e3 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test-phantom": "python third_party/phantomjs/test/run-tests.py", "test": "npm run lint --silent && npm run unit && npm run test-phantom", "install": "node install.js", - "lint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .", + "lint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .) && npm run doc", "generate-toc": "markdown-toc -i docs/api.md", "doc": "jasmine test/doclint/lint.js" },