mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-14 20:35:47 +01:00
Build: Update jscs, remove rules now included in the jquery preset
This commit is contained in:
5
.jscsrc
5
.jscsrc
@@ -12,11 +12,6 @@
|
||||
"requireSpacesInAnonymousFunctionExpression": {
|
||||
"beforeOpeningCurlyBrace": true
|
||||
},
|
||||
"disallowTrailingComma": true,
|
||||
"requireMultipleVarDecl": "onevar",
|
||||
"disallowTrailingWhitespace": true,
|
||||
"validateQuoteMarks": "\"",
|
||||
"requireSpacesInsideArrayBrackets": "allButNested",
|
||||
"excludeFiles": [
|
||||
"node_modules/**",
|
||||
"dist/**"
|
||||
|
||||
10
Gruntfile.js
10
Gruntfile.js
@@ -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: {
|
||||
|
||||
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user