Skip to content

Commit

Permalink
Merge pull request #431 from spenceralger/jshint_enhance
Browse files Browse the repository at this point in the history
make jshint selector more specific to speed it up
  • Loading branch information
w33ble committed Oct 1, 2014
2 parents 8bfac9b + 12f9da9 commit 5ae027f
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions tasks/config/jshint.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,15 @@ module.exports = function (grunt) {
files: {
src: [
'Gruntfile.js',
'<%= src %>/*.js',
'<%= src %>/kibana/**/*.js',
'<%= unitTestDir %>/**/*.js',
'<%= root %>/tasks/**/*.js'
'<%= root %>/tasks/**/*.js',
'<%= src %>/kibana/*.js',
'<%= src %>/kibana/{apps,components,controllers,directives,factories,filters,services,utils}/**/*.js',
'<%= unitTestDir %>/**/*.js'
]
}
},
options: {
jshintrc: true,
ignores: [
'node_modules/*',
'dist/*',
'sample/*',
'<%= src %>/kibana/bower_components/**/*'
]
jshintrc: true
}
};
};

0 comments on commit 5ae027f

Please sign in to comment.