Commit 055730d8 authored by XhmikosR's avatar XhmikosR

Gruntfile.js: use the same targets as JSHint for JSCS to avoid duplication.

parent c586a56d
......@@ -68,16 +68,16 @@ module.exports = function (grunt) {
options: {
'requireParenthesesAroundIIFE': true
},
src: ['Gruntfile.js', 'grunt/*.js']
src: '<%= jshint.grunt.src %>'
},
src: {
src: 'js/*.js'
src: '<%= jshint.src.src %>'
},
test: {
src: 'js/tests/unit/*.js'
src: '<%= jshint.test.src %>'
},
assets: {
src: ['docs/assets/js/application.js', 'docs/assets/js/customizer.js']
src: '<%= jshint.assets.src %>'
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment