switch from jshint to eslint
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -7,11 +7,10 @@ module.exports = {
|
||||
'Gruntfile.js'
|
||||
],
|
||||
tasks: [
|
||||
'jshint',
|
||||
'mochacov:unit'
|
||||
],
|
||||
options: {
|
||||
interrupt: true
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@ -12,7 +12,6 @@ module.exports = function (grunt) {
|
||||
|
||||
grunt.registerTask('test', function (branch) {
|
||||
var tasks = [
|
||||
'jshint',
|
||||
branch ? 'run:generate_' + branch : 'run:generate',
|
||||
'mochacov:unit'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user