Enable documentation linting (#56)

This patch enables documentation linting as a part of `npm run lint`
command.

References #14.
This commit is contained in:
Andrey Lushnikov 2017-07-07 21:53:55 +03:00 committed by GitHub
parent a69bed30d9
commit 193f0d85cb

View File

@ -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"
},