From 4dc4e81155071e3d6651cb263eb3390b567f33db Mon Sep 17 00:00:00 2001 From: "Zhuohuan LI (CARPE DIEM)" Date: Wed, 2 Nov 2016 17:53:08 +0000 Subject: [PATCH] add shell linting with shellcheck --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7b2106dc..51435a2e 100644 --- a/package.json +++ b/package.json @@ -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", -- GitLab