diff options
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 759edfcf1..f49a93386 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -77,27 +77,18 @@ module.exports = function( grunt ) { } }, jshint: { - src: { - src: "src/**/*.js", + all: { + src: [ + "src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/tasks/*", + "build/{bower-install,release-notes,release}.js" + ], options: { - jshintrc: "src/.jshintrc" + jshintrc: true } }, dist: { src: "dist/jquery.js", options: srcHintOptions - }, - grunt: { - src: [ "Gruntfile.js", "build/tasks/*", "build/{bower-install,release-notes,release}.js" ], - options: { - jshintrc: ".jshintrc" - } - }, - tests: { - src: "test/**/*.js", - options: { - jshintrc: "test/.jshintrc" - } } }, jscs: { |