提交 4dc4e811 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add shell linting with shellcheck

上级 830d57fa
......@@ -23,7 +23,7 @@
"lint": "npm run shlint && npm run eslint && npm run tslint",
"eslint": "eslint \"{bin,example,src,test}/**/*.js\"",
"tslint": "tslint \"{bin,example,src,test}/**/*.ts\" && tsc --noEmit",
"shlint": "bash -n bin/*.sh",
"shlint": "bash -n bin/*.sh && shellcheck bin/*.sh",
"pretest": "npm run clean && npm run lint && npm run build",
"sloc": "sloc bin example src test index.ts --details --format cli-table --keys total,source,comment && sloc bin example src test index.ts",
"test": "npm run test:chrome",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册