diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..861cd148 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,5 @@ +node_modules +bower_components +cover +reports +dist \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js index be26f52e..2e078bf1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -100,20 +100,6 @@ module.exports = function (grunt) { } }, - /** - * grunt eslint - * - * Runs the eslint linter against all the javascript files in our - * project, using the .eslintrc file shared with our IDE. - */ - eslint: { - target: [ - dir.source + '/**/*.js', - dir.test + '/**/*.js', - './*.js' - ] - }, - /** * grunt gitinfo * @@ -486,14 +472,6 @@ module.exports = function (grunt) { ], tasks: ['html2js'] }, - eslint: { - files: [ - 'Gruntfile.js', - dir.source + '/**/*.js', - dir.test + '/**/*.js' - ], - tasks: ['eslint'] - }, livereload: { options: { livereload: config.livereload.port diff --git a/package.json b/package.json index 0bf10ef6..ee3a4f5b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.html", "scripts": { "clean": "./node_modules/.bin/grunt clean", - "lint": "./node_modules/.bin/grunt eslint", + "lint": "eslint ./", "test-unit": "./node_modules/.bin/grunt test:unit", "test-functional": "./node_modules/.bin/grunt test:functional", "test-integration": "./node_modules/.bin/grunt test:integration", @@ -43,7 +43,6 @@ "grunt-contrib-uglify": "0.6.0", "grunt-contrib-watch": "0.6.1", "grunt-env": "0.4.1", - "grunt-eslint": "7.0.1", "grunt-gitinfo": "^0.1.7", "grunt-html2js": "0.2.9", "grunt-karma": "0.12.2",