switch from jshint to eslint

This commit is contained in:
spalger
2016-01-08 14:18:35 -07:00
parent 7d5b0395e6
commit d0d55f8f3e
18 changed files with 16 additions and 124 deletions

View File

@ -1,14 +0,0 @@
module.exports = {
source: {
src: [
'src/**/*.js -src/elasticsearch*/**/* -<%= bowerSubmodule %>/**/*',
'scripts/**/*.js',
'test/**/*.js -test/browser_integration/yaml_tests.js',
'grunt/**/*.js',
'Gruntfile.js'
],
options: {
jshintrc: true
}
}
};

View File

@ -7,11 +7,10 @@ module.exports = {
'Gruntfile.js'
],
tasks: [
'jshint',
'mochacov:unit'
],
options: {
interrupt: true
}
}
};
};

View File

@ -12,7 +12,6 @@ module.exports = function (grunt) {
grunt.registerTask('test', function (branch) {
var tasks = [
'jshint',
branch ? 'run:generate_' + branch : 'run:generate',
'mochacov:unit'
];