Skip to content

Commit e21b662

Browse files
committed
Combined Grunt JSCS options
1 parent 4c98843 commit e21b662

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Gruntfile.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,17 @@ module.exports = function(grunt) {
5353
}
5454
},
5555
jscs: {
56+
options: {
57+
config: '.jscsrc'
58+
},
5659
grunt: {
57-
src: [ 'Gruntfile.js' ],
58-
options: {
59-
config: '.jscsrc'
60-
}
60+
src: [ 'Gruntfile.js' ]
6161
},
6262
tests: {
63-
src: [ 'test/**/*.js' ],
64-
options: {
65-
config: '.jscsrc'
66-
}
63+
src: [ 'test/**/*.js' ]
6764
},
6865
js: {
69-
src: [ 'src/*.js' ],
70-
options: {
71-
config: '.jscsrc'
72-
}
66+
src: [ 'src/*.js' ]
7367
}
7468
},
7569
jsonlint: {

0 commit comments

Comments
 (0)