File tree Expand file tree Collapse file tree 1 file changed +5
-40
lines changed Expand file tree Collapse file tree 1 file changed +5
-40
lines changed Original file line number Diff line number Diff line change 55
55
} ,
56
56
component = grunt . option ( "component" ) || "**" ,
57
57
58
- jscsBad = [
59
- "ui/button.js" ,
60
- "ui/datepicker.js" ,
61
- "ui/draggable.js" ,
62
- "ui/droppable.js" ,
63
- "ui/effect.js" ,
64
- "ui/mouse.js" ,
65
- "ui/resizable.js" ,
66
- "ui/selectable.js" ,
67
- "ui/slider.js" ,
68
- "ui/sortable.js"
69
- ] ,
70
-
71
58
htmllintBad = [
72
59
"demos/tabs/ajax/content*.html" ,
73
60
"demos/tooltip/ajax/content*.html" ,
@@ -150,35 +137,13 @@ grunt.initConfig({
150
137
151
138
// Remove the requireSpacesInsideParentheses override once everything is fixed
152
139
jscs : {
153
- "ui-good" : [ "ui/*.js" ] . concat ( jscsBad . map ( function ( file ) {
154
- return "!" + file ;
155
- } ) ) ,
156
- "ui-bad" : {
157
- options : {
158
- requireSpacesInsideParentheses : null
159
- } ,
160
- src : jscsBad
161
- } ,
162
- tests : {
163
- options : {
164
- requireSpacesInsideParentheses : null
165
- } ,
166
- src : "tests/unit/**/*.js"
167
- } ,
168
- grunt : {
169
- options : {
170
- requireSpacesInsideParentheses : null
171
- } ,
172
- src : [ "Gruntfile.js" , "build/tasks/*.js" ]
173
- } ,
174
- demos : {
140
+ all : {
175
141
options : {
176
-
177
- // While the style guide removed onevar upgrading jscs to allow it causes too many
178
- // errors right now
179
- disallowMultipleVarDecl : null
142
+ requireCapitalizedComments : null
180
143
} ,
181
- src : "demos/**/*.js"
144
+ files : {
145
+ src : [ "demos/**/*.js" , "build/**/*.js" , "tests/**/*.js" , "ui/**/*.js" ]
146
+ }
182
147
}
183
148
} ,
184
149
uglify : minify ,
You can’t perform that action at this time.
0 commit comments