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) {
7
7
all : [ 'test/**/*.js' ]
8
8
} ,
9
9
lint : {
10
- files : [ 'grunt .js' , 'lib/**/*.js' , 'test/**/*.js' ]
10
+ files : [ 'Gruntfile .js' , 'lib/**/*.js' , 'test/**/*.js' ]
11
11
} ,
12
12
watch : {
13
13
files : '<%= lint.files %>' ,
@@ -25,15 +25,17 @@ module.exports = function(grunt) {
25
25
undef : true ,
26
26
boss : true ,
27
27
eqnull : true ,
28
- node : true
28
+ node : true ,
29
+ globals : {
30
+ exports : true
31
+ }
29
32
} ,
30
- globals : {
31
- exports : true
32
- }
33
+ all : '<%= lint.files %>'
33
34
}
34
35
} ) ;
35
36
36
37
grunt . loadNpmTasks ( 'grunt-contrib-nodeunit' ) ;
38
+ grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
37
39
// Default task.
38
40
grunt . registerTask ( 'default' , 'nodeunit' ) ;
39
41
Original file line number Diff line number Diff line change 30
30
},
31
31
"devDependencies" : {
32
32
"grunt" : " ^0.4.5" ,
33
+ "grunt-contrib-jshint" : " ^0.11.2" ,
33
34
"grunt-contrib-nodeunit" : " ^0.4.1"
34
35
},
35
36
"keywords" : []
You can’t perform that action at this time.
0 commit comments