diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-11-01 14:44:14 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-11-01 14:44:14 -0400 |
commit | 61d16ec939c11f63419cae5bc2aa990134f6c0ff (patch) | |
tree | ab0f7b4afe54ac54be68ebc5ed74dd7611d69c09 /Gruntfile.js | |
parent | 1f724adb15f5f56802e74dbb838738371f8ae351 (diff) | |
download | jquery-ui-61d16ec939c11f63419cae5bc2aa990134f6c0ff.tar.gz jquery-ui-61d16ec939c11f63419cae5bc2aa990134f6c0ff.zip |
Update grunt-contrib-jshint to 0.7.1 and squash jshint tasks.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 31 |
1 files changed, 8 insertions, 23 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index bf09ef6e1..482eb45d6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -176,30 +176,15 @@ grunt.initConfig({ }) }, jshint: { - ui: { - options: { - jshintrc: "ui/.jshintrc" - }, - files: { - src: "ui/*.js" - } - }, - grunt: { - options: { - jshintrc: ".jshintrc" - }, - files: { - src: [ "Gruntfile.js", "build/**/*.js" ] - } + options: { + jshintrc: true }, - tests: { - options: { - jshintrc: "tests/.jshintrc" - }, - files: { - src: "tests/unit/**/*.js" - } - } + src: [ + "ui/*.js", + "Gruntfile.js", + "build/**/*.js", + "tests/unit/**/*.js" + ] }, csslint: { base_theme: { |