File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 } ,
5656 component = grunt . option ( "component" ) || "**" ,
5757
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-
7158 htmllintBad = [
7259 "demos/tabs/ajax/content*.html" ,
7360 "demos/tooltip/ajax/content*.html" ,
@@ -150,35 +137,13 @@ grunt.initConfig({
150137
151138 // Remove the requireSpacesInsideParentheses override once everything is fixed
152139 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 : {
175141 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
180143 } ,
181- src : "demos/**/*.js"
144+ files : {
145+ src : [ "demos/**/*.js" , "build/**/*.js" , "tests/**/*.js" , "ui/**/*.js" ]
146+ }
182147 }
183148 } ,
184149 uglify : minify ,
You can’t perform that action at this time.
0 commit comments