mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Build: Update grunt and grunt-jscs-checker, use jquery preset for jscs
This commit is contained in:
parent
0dc84db853
commit
e15d8cc232
25
.jscs.json
25
.jscs.json
@ -1,26 +1,3 @@
|
|||||||
{
|
{
|
||||||
"requireCurlyBraces": [ "if", "else", "for", "while", "do" ],
|
"preset": "jquery"
|
||||||
"requireSpaceAfterKeywords": [ "if", "else", "for", "while", "do", "switch", "return" ],
|
|
||||||
"requireSpacesInFunctionExpression": {
|
|
||||||
"beforeOpeningCurlyBrace": true
|
|
||||||
},
|
|
||||||
"disallowSpacesInFunctionExpression": {
|
|
||||||
"beforeOpeningRoundBrace": true
|
|
||||||
},
|
|
||||||
"requireMultipleVarDecl": true,
|
|
||||||
"requireSpacesInsideObjectBrackets": "all",
|
|
||||||
"requireSpacesInsideArrayBrackets": "all",
|
|
||||||
"disallowLeftStickedOperators": [ "?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
|
|
||||||
"disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
|
||||||
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
|
|
||||||
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
|
|
||||||
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
|
||||||
"requireRightStickedOperators": [ "!" ],
|
|
||||||
"requireLeftStickedOperators": [ "," ],
|
|
||||||
"disallowKeywords": [ "with" ],
|
|
||||||
"disallowMultipleLineBreaks": true,
|
|
||||||
"disallowKeywordsOnNewLine": [ "else" ],
|
|
||||||
"requireLineFeedAtFileEnd": true,
|
|
||||||
"disallowSpaceAfterObjectKeys": true,
|
|
||||||
"validateLineBreaks": "LF"
|
|
||||||
}
|
}
|
||||||
|
@ -56,14 +56,14 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "0.4.1",
|
"grunt": "0.4.2",
|
||||||
"grunt-contrib-jshint": "0.7.1",
|
"grunt-contrib-jshint": "0.7.1",
|
||||||
"grunt-contrib-uglify": "0.1.1",
|
"grunt-contrib-uglify": "0.1.1",
|
||||||
"grunt-contrib-concat": "0.1.3",
|
"grunt-contrib-concat": "0.1.3",
|
||||||
"grunt-contrib-qunit": "0.2.0",
|
"grunt-contrib-qunit": "0.2.0",
|
||||||
"grunt-contrib-csslint": "0.1.1",
|
"grunt-contrib-csslint": "0.1.1",
|
||||||
"grunt-compare-size": "0.4.0-rc.3",
|
"grunt-compare-size": "0.4.0-rc.3",
|
||||||
"grunt-jscs-checker": "0.2.6",
|
"grunt-jscs-checker": "0.3.1",
|
||||||
"grunt-html": "0.3.3",
|
"grunt-html": "0.3.3",
|
||||||
"grunt-git-authors": "1.2.0",
|
"grunt-git-authors": "1.2.0",
|
||||||
"grunt-esformatter": "0.2.0",
|
"grunt-esformatter": "0.2.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user