diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-01-10 16:06:55 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-01-10 16:06:58 +0100 |
commit | e15d8cc232743a343950b420f31e6f2cf85366c3 (patch) | |
tree | a46cbd683270df1da279cc97f470bb32f00b352a /.jscs.json | |
parent | 0dc84db853751f5f0ccfd9f79cbf8355dcc4b09c (diff) | |
download | jquery-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.json | 25 |
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" } |