File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module.exports = function(grunt) {
77 all : [ 'test/**/*.js' ]
88 } ,
99 lint : {
10- files : [ 'grunt .js' , 'lib/**/*.js' , 'test/**/*.js' ]
10+ files : [ 'Gruntfile .js' , 'lib/**/*.js' , 'test/**/*.js' ]
1111 } ,
1212 watch : {
1313 files : '<%= lint.files %>' ,
@@ -25,15 +25,17 @@ module.exports = function(grunt) {
2525 undef : true ,
2626 boss : true ,
2727 eqnull : true ,
28- node : true
28+ node : true ,
29+ globals : {
30+ exports : true
31+ }
2932 } ,
30- globals : {
31- exports : true
32- }
33+ all : '<%= lint.files %>'
3334 }
3435 } ) ;
3536
3637 grunt . loadNpmTasks ( 'grunt-contrib-nodeunit' ) ;
38+ grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
3739 // Default task.
3840 grunt . registerTask ( 'default' , 'nodeunit' ) ;
3941
Original file line number Diff line number Diff line change 3030 },
3131 "devDependencies" : {
3232 "grunt" : " ^0.4.5" ,
33+ "grunt-contrib-jshint" : " ^0.11.2" ,
3334 "grunt-contrib-nodeunit" : " ^0.4.1"
3435 },
3536 "keywords" : []
You can’t perform that action at this time.
0 commit comments