Merge pull request #431 from spenceralger/jshint_enhance

make jshint selector more specific to speed it up
This commit is contained in:
Joe Fleming 2014-10-01 10:52:16 -07:00
commit 5ae027f02b

View file

@ -5,21 +5,15 @@ module.exports = function (grunt) {
files: { files: {
src: [ src: [
'Gruntfile.js', 'Gruntfile.js',
'<%= src %>/*.js', '<%= root %>/tasks/**/*.js',
'<%= src %>/kibana/**/*.js', '<%= src %>/kibana/*.js',
'<%= unitTestDir %>/**/*.js', '<%= src %>/kibana/{apps,components,controllers,directives,factories,filters,services,utils}/**/*.js',
'<%= root %>/tasks/**/*.js' '<%= unitTestDir %>/**/*.js'
] ]
} }
}, },
options: { options: {
jshintrc: true, jshintrc: true
ignores: [
'node_modules/*',
'dist/*',
'sample/*',
'<%= src %>/kibana/bower_components/**/*'
]
} }
}; };
}; };