Added ESLint back to the JS Grunt task
I fixed all the style violations *grumble grumble*
This commit is contained in:
parent
0d6675b490
commit
9283e33a1c
|
@ -193,7 +193,7 @@ module.exports = function( grunt ) {
|
|||
'!<%= dirs.js %>/admin/*.min.js',
|
||||
'!<%= dirs.js %>/frontend/*.min.js'
|
||||
],
|
||||
tasks: ['uglify']
|
||||
tasks: ['eslint','uglify']
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -303,6 +303,7 @@ module.exports = function( grunt ) {
|
|||
]);
|
||||
|
||||
grunt.registerTask( 'js', [
|
||||
'eslint',
|
||||
'uglify:admin',
|
||||
'uglify:frontend'
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue