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

This commit is contained in:
XhmikosR 2014-02-28 14:24:35 +02:00
parent c586a56d57
commit 055730d84e
1 changed files with 4 additions and 4 deletions

View File

@ -68,16 +68,16 @@ module.exports = function (grunt) {
options: { options: {
'requireParenthesesAroundIIFE': true 'requireParenthesesAroundIIFE': true
}, },
src: ['Gruntfile.js', 'grunt/*.js'] src: '<%= jshint.grunt.src %>'
}, },
src: { src: {
src: 'js/*.js' src: '<%= jshint.src.src %>'
}, },
test: { test: {
src: 'js/tests/unit/*.js' src: '<%= jshint.test.src %>'
}, },
assets: { assets: {
src: ['docs/assets/js/application.js', 'docs/assets/js/customizer.js'] src: '<%= jshint.assets.src %>'
} }
}, },