Skip to content

Commit 61d16ec

Browse files
committed
Update grunt-contrib-jshint to 0.7.1 and squash jshint tasks.
1 parent 1f724ad commit 61d16ec

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
@@ -176,30 +176,15 @@ grunt.initConfig({
176176
})
177177
},
178178
jshint: {
179-
ui: {
180-
options: {
181-
jshintrc: "ui/.jshintrc"
182-
},
183-
files: {
184-
src: "ui/*.js"
185-
}
186-
},
187-
grunt: {
188-
options: {
189-
jshintrc: ".jshintrc"
190-
},
191-
files: {
192-
src: [ "Gruntfile.js", "build/**/*.js" ]
193-
}
179+
options: {
180+
jshintrc: true
194181
},
195-
tests: {
196-
options: {
197-
jshintrc: "tests/.jshintrc"
198-
},
199-
files: {
200-
src: "tests/unit/**/*.js"
201-
}
202-
}
182+
src: [
183+
"ui/*.js",
184+
"Gruntfile.js",
185+
"build/**/*.js",
186+
"tests/unit/**/*.js"
187+
]
203188
},
204189
csslint: {
205190
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)