Skip to content

Commit 01446e0

Browse files
committed
Update grunt-contrib-jshint to 0.7.1 and squash jshint tasks.
(cherry picked from commit 61d16ec)
1 parent 52e0f76 commit 01446e0

File tree

2 files changed

+9
-24
lines changed

2 files changed

+9
-24
lines changed

Gruntfile.js

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -208,30 +208,15 @@ grunt.initConfig({
208208
})
209209
},
210210
jshint: {
211-
ui: {
212-
options: {
213-
jshintrc: "ui/.jshintrc"
214-
},
215-
files: {
216-
src: "ui/*.js"
217-
}
218-
},
219-
grunt: {
220-
options: {
221-
jshintrc: ".jshintrc"
222-
},
223-
files: {
224-
src: [ "Gruntfile.js", "build/**/*.js" ]
225-
}
211+
options: {
212+
jshintrc: true
226213
},
227-
tests: {
228-
options: {
229-
jshintrc: "tests/.jshintrc"
230-
},
231-
files: {
232-
src: "tests/unit/**/*.js"
233-
}
234-
}
214+
src: [
215+
"ui/*.js",
216+
"Gruntfile.js",
217+
"build/**/*.js",
218+
"tests/unit/**/*.js"
219+
]
235220
},
236221
csslint: {
237222
base_theme: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"dependencies": {},
5858
"devDependencies": {
5959
"grunt": "0.4.1",
60-
"grunt-contrib-jshint": "0.6.3",
60+
"grunt-contrib-jshint": "0.7.1",
6161
"grunt-contrib-uglify": "0.1.1",
6262
"grunt-contrib-concat": "0.1.3",
6363
"grunt-contrib-qunit": "0.2.0",

0 commit comments

Comments
 (0)