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:
parent
d27af7a98c
commit
f72f752631
5
.eslintignore
Normal file
5
.eslintignore
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
node_modules
|
||||||
|
bower_components
|
||||||
|
cover
|
||||||
|
reports
|
||||||
|
dist
|
22
Gruntfile.js
22
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
|
* grunt gitinfo
|
||||||
*
|
*
|
||||||
@ -486,14 +472,6 @@ module.exports = function (grunt) {
|
|||||||
],
|
],
|
||||||
tasks: ['html2js']
|
tasks: ['html2js']
|
||||||
},
|
},
|
||||||
eslint: {
|
|
||||||
files: [
|
|
||||||
'Gruntfile.js',
|
|
||||||
dir.source + '/**/*.js',
|
|
||||||
dir.test + '/**/*.js'
|
|
||||||
],
|
|
||||||
tasks: ['eslint']
|
|
||||||
},
|
|
||||||
livereload: {
|
livereload: {
|
||||||
options: {
|
options: {
|
||||||
livereload: config.livereload.port
|
livereload: config.livereload.port
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "./node_modules/.bin/grunt clean",
|
"clean": "./node_modules/.bin/grunt clean",
|
||||||
"lint": "./node_modules/.bin/grunt eslint",
|
"lint": "eslint ./",
|
||||||
"test-unit": "./node_modules/.bin/grunt test:unit",
|
"test-unit": "./node_modules/.bin/grunt test:unit",
|
||||||
"test-functional": "./node_modules/.bin/grunt test:functional",
|
"test-functional": "./node_modules/.bin/grunt test:functional",
|
||||||
"test-integration": "./node_modules/.bin/grunt test:integration",
|
"test-integration": "./node_modules/.bin/grunt test:integration",
|
||||||
@ -43,7 +43,6 @@
|
|||||||
"grunt-contrib-uglify": "0.6.0",
|
"grunt-contrib-uglify": "0.6.0",
|
||||||
"grunt-contrib-watch": "0.6.1",
|
"grunt-contrib-watch": "0.6.1",
|
||||||
"grunt-env": "0.4.1",
|
"grunt-env": "0.4.1",
|
||||||
"grunt-eslint": "7.0.1",
|
|
||||||
"grunt-gitinfo": "^0.1.7",
|
"grunt-gitinfo": "^0.1.7",
|
||||||
"grunt-html2js": "0.2.9",
|
"grunt-html2js": "0.2.9",
|
||||||
"grunt-karma": "0.12.2",
|
"grunt-karma": "0.12.2",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user