Added ESLint back to the JS Grunt task

I fixed all the style violations *grumble grumble*
This commit is contained in:
Christopher Allford 2020-05-04 20:52:28 -07:00
parent 0d6675b490
commit 9283e33a1c
1 changed files with 2 additions and 1 deletions

View File

@ -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'
]);