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": {
|
"requireSpacesInAnonymousFunctionExpression": {
|
||||||
"beforeOpeningCurlyBrace": true
|
"beforeOpeningCurlyBrace": true
|
||||||
},
|
},
|
||||||
"disallowTrailingComma": true,
|
|
||||||
"requireMultipleVarDecl": "onevar",
|
|
||||||
"disallowTrailingWhitespace": true,
|
|
||||||
"validateQuoteMarks": "\"",
|
|
||||||
"requireSpacesInsideArrayBrackets": "allButNested",
|
|
||||||
"excludeFiles": [
|
"excludeFiles": [
|
||||||
"node_modules/**",
|
"node_modules/**",
|
||||||
"dist/**"
|
"dist/**"
|
||||||
|
|||||||
10
Gruntfile.js
10
Gruntfile.js
@@ -158,15 +158,7 @@ grunt.initConfig({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
jscs: {
|
jscs: {
|
||||||
core: {
|
all: [ "<%= jshint.core.src %>", "<%= jshint.test.src %>", "<%= jshint.grunt.src %>" ]
|
||||||
src: "<%= jshint.core.src %>"
|
|
||||||
},
|
|
||||||
test: {
|
|
||||||
src: "<%= jshint.test.src %>"
|
|
||||||
},
|
|
||||||
grunt: {
|
|
||||||
src: "<%= jshint.grunt.src %>"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
copy: {
|
copy: {
|
||||||
dist: {
|
dist: {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
"grunt-contrib-qunit": "0.4.0",
|
"grunt-contrib-qunit": "0.4.0",
|
||||||
"grunt-contrib-uglify": "0.4.0",
|
"grunt-contrib-uglify": "0.4.0",
|
||||||
"grunt-contrib-watch": "0.6.0",
|
"grunt-contrib-watch": "0.6.0",
|
||||||
"grunt-jscs-checker": "^0.4.4",
|
"grunt-jscs": "^0.6.1",
|
||||||
"grunt-text-replace": "0.3.11"
|
"grunt-text-replace": "0.3.11"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
Reference in New Issue
Block a user