File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 6
6
"expr" : true ,
7
7
"immed" : true ,
8
8
"noarg" : true ,
9
- "onevar" : true ,
10
9
"quotmark" : " double" ,
11
10
"smarttabs" : true ,
12
11
"trailing" : true ,
Original file line number Diff line number Diff line change @@ -201,6 +201,15 @@ grunt.initConfig({
201
201
requireSpacesInsideParentheses : null
202
202
} ,
203
203
src : [ "Gruntfile.js" , "build/tasks/*.js" ]
204
+ } ,
205
+ demos : {
206
+ options : {
207
+
208
+ // While the style guide removed onevar upgrading jscs to allow it causes too many
209
+ // errors right now
210
+ disallowMultipleVarDecl : null
211
+ } ,
212
+ src : "demos/**/*.js"
204
213
}
205
214
} ,
206
215
uglify : minify ,
@@ -249,7 +258,8 @@ grunt.initConfig({
249
258
"Gruntfile.js" ,
250
259
"build/**/*.js" ,
251
260
"tests/unit/**/*.js" ,
252
- "tests/lib/**/*.js"
261
+ "tests/lib/**/*.js" ,
262
+ "demos/**/*.js"
253
263
]
254
264
} ,
255
265
csslint : {
You can’t perform that action at this time.
0 commit comments