Removed grunt:eslint in favor of just running eslint

There's no actual need to use grunt to run eslint. So we're not.

Change-Id: Icfd19e4258fdec64a922fc683f2b0aaa7b8510a8
This commit is contained in:
Michael Krotscheck 2016-04-12 04:51:31 -07:00
parent d27af7a98c
commit f72f752631
No known key found for this signature in database
GPG Key ID: 20E618D878DE38AB
3 changed files with 6 additions and 24 deletions

5
.eslintignore Normal file
View File

@ -0,0 +1,5 @@
node_modules
bower_components
cover
reports
dist

View File

@ -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

View File

@ -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",