Separate app js from toolchain in jshint, add jshint in watch.
This commit is contained in:
parent
c0c3008b7c
commit
2328b5a850
@ -2,8 +2,10 @@ module.exports = {
|
||||
options: {
|
||||
reporter: require('jshint-stylish')
|
||||
},
|
||||
work: [
|
||||
'<%= paths.frontend_js %>/*.js',
|
||||
frontend_js: [
|
||||
'<%= paths.frontend_js %>'
|
||||
],
|
||||
toolchain: [
|
||||
'Gruntfile.js'
|
||||
]
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
js: {
|
||||
files: '<%= paths.frontend_js %>',
|
||||
tasks: ['concat:frontend_js']
|
||||
tasks: ['jshint:frontend_js', 'concat:frontend_js']
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user