Build: Update jscs, remove rules now included in the jquery preset

This commit is contained in:
Jörn Zaefferer
2014-06-18 12:09:33 +02:00
parent 1436337fd6
commit f85d4b7112
3 changed files with 2 additions and 15 deletions

View File

@@ -12,11 +12,6 @@
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowTrailingComma": true,
"requireMultipleVarDecl": "onevar",
"disallowTrailingWhitespace": true,
"validateQuoteMarks": "\"",
"requireSpacesInsideArrayBrackets": "allButNested",
"excludeFiles": [
"node_modules/**",
"dist/**"

View File

@@ -158,15 +158,7 @@ grunt.initConfig({
}
},
jscs: {
core: {
src: "<%= jshint.core.src %>"
},
test: {
src: "<%= jshint.test.src %>"
},
grunt: {
src: "<%= jshint.grunt.src %>"
}
all: [ "<%= jshint.core.src %>", "<%= jshint.test.src %>", "<%= jshint.grunt.src %>" ]
},
copy: {
dist: {

View File

@@ -36,7 +36,7 @@
"grunt-contrib-qunit": "0.4.0",
"grunt-contrib-uglify": "0.4.0",
"grunt-contrib-watch": "0.6.0",
"grunt-jscs-checker": "^0.4.4",
"grunt-jscs": "^0.6.1",
"grunt-text-replace": "0.3.11"
},
"keywords": [