mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Enable documentation linting (#56)
This patch enables documentation linting as a part of `npm run lint` command. References #14.
This commit is contained in:
parent
a69bed30d9
commit
193f0d85cb
@ -11,7 +11,7 @@
|
|||||||
"test-phantom": "python third_party/phantomjs/test/run-tests.py",
|
"test-phantom": "python third_party/phantomjs/test/run-tests.py",
|
||||||
"test": "npm run lint --silent && npm run unit && npm run test-phantom",
|
"test": "npm run lint --silent && npm run unit && npm run test-phantom",
|
||||||
"install": "node install.js",
|
"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",
|
"generate-toc": "markdown-toc -i docs/api.md",
|
||||||
"doc": "jasmine test/doclint/lint.js"
|
"doc": "jasmine test/doclint/lint.js"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user