aboutsummaryrefslogtreecommitdiffstats
path: root/.jscs.json
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2014-01-10 16:06:55 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2014-01-10 16:06:58 +0100
commite15d8cc232743a343950b420f31e6f2cf85366c3 (patch)
treea46cbd683270df1da279cc97f470bb32f00b352a /.jscs.json
parent0dc84db853751f5f0ccfd9f79cbf8355dcc4b09c (diff)
downloadjquery-ui-e15d8cc232743a343950b420f31e6f2cf85366c3.tar.gz
jquery-ui-e15d8cc232743a343950b420f31e6f2cf85366c3.zip
Build: Update grunt and grunt-jscs-checker, use jquery preset for jscs
Diffstat (limited to '.jscs.json')
-rw-r--r--.jscs.json25
1 files changed, 1 insertions, 24 deletions
diff --git a/.jscs.json b/.jscs.json
index 0e9cec8fe..f5387e9af 100644
--- a/.jscs.json
+++ b/.jscs.json
@@ -1,26 +1,3 @@
{
- "requireCurlyBraces": [ "if", "else", "for", "while", "do" ],
- "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"
+ "preset": "jquery"
}