1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 04:41:36 +02:00

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

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 %>'
} }
}, },