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: {
|
options: {
|
||||||
reporter: require('jshint-stylish')
|
reporter: require('jshint-stylish')
|
||||||
},
|
},
|
||||||
work: [
|
frontend_js: [
|
||||||
'<%= paths.frontend_js %>/*.js',
|
'<%= paths.frontend_js %>'
|
||||||
|
],
|
||||||
|
toolchain: [
|
||||||
'Gruntfile.js'
|
'Gruntfile.js'
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
js: {
|
js: {
|
||||||
files: '<%= paths.frontend_js %>',
|
files: '<%= paths.frontend_js %>',
|
||||||
tasks: ['concat:frontend_js']
|
tasks: ['jshint:frontend_js', 'concat:frontend_js']
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user