File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,16 +33,23 @@ module.exports = function(grunt) {
3333 jshint : {
3434 options : {
3535 curly : true ,
36- eqeqeq : true ,
36+ // eqeqeq: true,
3737 immed : true ,
3838 latedef : true ,
3939 newcap : true ,
4040 noarg : true ,
4141 sub : true ,
4242 undef : true ,
43- unused : true ,
43+ // unused: true,
4444 boss : true ,
4545 eqnull : true ,
46+ // Copied from build.xml
47+ forin : true ,
48+ noempty : true ,
49+ rhino : false ,
50+ // Temporary to suppress warnings that exist when using the latest JSHint
51+ eqeqeq : false ,
52+ unused : false ,
4653 globals : {
4754 jQuery : true
4855 }
@@ -60,7 +67,7 @@ module.exports = function(grunt) {
6067 watch : {
6168 gruntfile : {
6269 files : '<%= jshint.gruntfile.src %>' ,
63- tasks : [ 'jshint:gruntfile ' ]
70+ tasks : [ 'jshint' ]
6471 } ,
6572 src : {
6673 files : '<%= jshint.all.src %>' ,
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ function cli(api){
192192 }
193193
194194 // Pad out with the appropriate number of spaces
195- toPrint += Array ( lenToPad - ( optionName . length + formatString . length ) ) . join ( ' ' ) ;
195+ toPrint += new Array ( lenToPad - ( optionName . length + formatString . length ) ) . join ( ' ' ) ;
196196
197197 // Print the description
198198 toPrint += globalOptions [ optionName ] . description + "\n" ;
You can’t perform that action at this time.
0 commit comments