aboutsummaryrefslogtreecommitdiffstats
path: root/.jscs.json
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2014-04-15 18:08:18 +0400
committerOleg Gaidarenko <markelog@gmail.com>2014-04-15 18:08:18 +0400
commitb7283d738ec4c2d9d87cb16c32a3209cab567ed1 (patch)
tree31faf84196732835cd73f8207aa917de2e59b923 /.jscs.json
parent95dfcc50ed37805fb83d5b67e15254caed0872e5 (diff)
downloadjquery-b7283d738ec4c2d9d87cb16c32a3209cab567ed1.tar.gz
jquery-b7283d738ec4c2d9d87cb16c32a3209cab567ed1.zip
Build: Update jscsrc
* Update "grunt-jscs-checker" package * Use ".jscsrc" file instead of old ".jscs.json" * Use jquery preset instead of explicitly defining all the jscs rules
Diffstat (limited to '.jscs.json')
-rw-r--r--.jscs.json23
1 files changed, 0 insertions, 23 deletions
diff --git a/.jscs.json b/.jscs.json
deleted file mode 100644
index f2d8a1fb7..000000000
--- a/.jscs.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "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": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
- "requireRightStickedOperators": [ "!" ],
- "requireLeftStickedOperators": [ "," ],
- "disallowKeywords": [ "with" ],
- "disallowMultipleLineBreaks": true,
- "disallowKeywordsOnNewLine": [ "else" ],
- "requireLineFeedAtFileEnd": true,
-
- "excludeFiles": [ "src/intro.js", "src/outro.js", "src/sizzle/**/*" ]
-}