Skip to content

Commit f85d4b7

Browse files
committed
Build: Update jscs, remove rules now included in the jquery preset
1 parent 1436337 commit f85d4b7

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

.jscsrc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
"requireSpacesInAnonymousFunctionExpression": {
1313
"beforeOpeningCurlyBrace": true
1414
},
15-
"disallowTrailingComma": true,
16-
"requireMultipleVarDecl": "onevar",
17-
"disallowTrailingWhitespace": true,
18-
"validateQuoteMarks": "\"",
19-
"requireSpacesInsideArrayBrackets": "allButNested",
2015
"excludeFiles": [
2116
"node_modules/**",
2217
"dist/**"

Gruntfile.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,7 @@ grunt.initConfig({
158158
}
159159
},
160160
jscs: {
161-
core: {
162-
src: "<%= jshint.core.src %>"
163-
},
164-
test: {
165-
src: "<%= jshint.test.src %>"
166-
},
167-
grunt: {
168-
src: "<%= jshint.grunt.src %>"
169-
}
161+
all: [ "<%= jshint.core.src %>", "<%= jshint.test.src %>", "<%= jshint.grunt.src %>" ]
170162
},
171163
copy: {
172164
dist: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"grunt-contrib-qunit": "0.4.0",
3737
"grunt-contrib-uglify": "0.4.0",
3838
"grunt-contrib-watch": "0.6.0",
39-
"grunt-jscs-checker": "^0.4.4",
39+
"grunt-jscs": "^0.6.1",
4040
"grunt-text-replace": "0.3.11"
4141
},
4242
"keywords": [

0 commit comments

Comments
 (0)