From: XhmikosR Date: Fri, 28 Feb 2014 12:24:35 +0000 (+0200) Subject: Gruntfile.js: use the same targets as JSHint for JSCS to avoid duplication. X-Git-Tag: v3.2.0~438^2~12^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=055730d84ef31936fd3e13d7809528c6cc006d96;p=thirdparty%2Fbootstrap.git Gruntfile.js: use the same targets as JSHint for JSCS to avoid duplication. --- diff --git a/Gruntfile.js b/Gruntfile.js index fbb6a1a869..05ec1f4420 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 %>' } },