From 09e1cd4b1e2dbecda8112145cf108d89cd3e1ef3 Mon Sep 17 00:00:00 2001 From: dgreif Date: Mon, 8 Feb 2016 06:58:32 -0600 Subject: [PATCH] chore: add lint script --- .eslintrc | 2 -- package.json | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index d857d30..104faf0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -10,7 +10,6 @@ "ecmaFeatures": { "blockBindings": true, "forOf": true, - "blockBindings": true, "defaultParams": true, "globalReturn": false, "modules": true, @@ -59,7 +58,6 @@ "comma-style": [2, "last"], "consistent-this": [1, "self"], "eol-last": 0, - "new-cap": 0, "new-parens": 2, "no-array-constructor": 2, "no-mixed-spaces-and-tabs": 2, diff --git a/package.json b/package.json index 4b6140f..8438cbf 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "babel-loader": "^5.3.2", "chai": "^3.4.1", "core-js": "^1.2.1", + "eslint": "^1.10.3", "grunt": "^0.4.5", "grunt-cli": "^0.1.13", "grunt-contrib-nodeunit": "^0.4.1", @@ -39,7 +40,8 @@ "test": "grunt test", "integrationtest": "grunt integrationtest", "build": "webpack && webpack --config webpack.config.min.js && grunt uglyasm && webpack --config webpack.node.config.js", - "watch": "webpack --watch" + "watch": "webpack --watch", + "lint": "eslint src" }, "repository": { "type": "git",