From 883634594957d5750cf34eff387e2e3c47d6d89c Mon Sep 17 00:00:00 2001 From: andre keedy Date: Fri, 15 Jan 2016 17:20:57 -0500 Subject: [PATCH] Add lint script in package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f85fff4..eae219d 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "scripts": { "postinstall": "scripts/post-install.sh", "start": "start shovel", - "test": "istanbul cover -x '**/test/**' node_modules/mocha/bin/_mocha test/api/* test/services/* test/controllers/* && istanbul report cobertura" + "test": "istanbul cover -x '**/test/**' node_modules/mocha/bin/_mocha test/api/* test/services/* test/controllers/* && istanbul report cobertura", + "lint": "./node_modules/eslint/bin/eslint.js controllers/Shovel.js lib/*" } }