diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-09 13:04:33 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-09 13:04:33 +0100 |
commit | 06df97d1bb1a97046ed995be969f4141dcf59997 (patch) | |
tree | 431e939f7219fe2a0bea1d282ac98fed35bcf7a9 /.jscs.json | |
parent | 3e57b29267a8cf0e2ff72711e1ce06432961dcdf (diff) | |
download | jquery-ui-06df97d1bb1a97046ed995be969f4141dcf59997.tar.gz jquery-ui-06df97d1bb1a97046ed995be969f4141dcf59997.zip |
JSCS config: Set disallowSpaceAfter/BeforePrefixUnaryOperators
Diffstat (limited to '.jscs.json')
-rw-r--r-- | .jscs.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.jscs.json b/.jscs.json index f832638f4..106dc8cd2 100644 --- a/.jscs.json +++ b/.jscs.json @@ -13,6 +13,8 @@ "disallowLeftStickedOperators": [ "?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ], "disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], + "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"], + "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "requireRightStickedOperators": [ "!" ], "requireLeftStickedOperators": [ "," ], "disallowKeywords": [ "with" ], |