diff options
author | Mark Otto <markdotto@gmail.com> | 2013-12-23 10:20:23 +0400 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2013-12-23 10:20:23 +0400 |
commit | 45a8a9508ed8c2cced5e8ce0b21ef3fd11fe6e15 (patch) | |
tree | d85c91605864a2a54f796589d4409ba878b378f0 /js | |
parent | 90ba7fa83665b380619e38c371f1077187a513e0 (diff) | |
parent | b27fecb7a39cbc27ed3a0e4c30adee1f82aadc14 (diff) |
Merge pull request #11974 from XhmikosR/meta
Normalize meta
Diffstat (limited to 'js')
-rw-r--r-- | js/.jscs.json | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/js/.jscs.json b/js/.jscs.json index e8210ccde8..c4cac13de7 100644 --- a/js/.jscs.json +++ b/js/.jscs.json @@ -1,15 +1,15 @@ { - "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], - "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, + "disallowKeywords": ["with"], "requireLeftStickedOperators": [","], "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], - "requireRightStickedOperators": ["!"], "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], - "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], + "requireLineFeedAtFileEnd": true, + "requireRightStickedOperators": ["!"], "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], - "disallowKeywords": ["with"], - "validateLineBreaks": "LF", - "requireLineFeedAtFileEnd": true + "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], + "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], + "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, + "validateLineBreaks": "LF" } |