aboutsummaryrefslogtreecommitdiffstats
path: root/.jscs.json
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-12-09 13:04:33 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-12-09 13:04:33 +0100
commit06df97d1bb1a97046ed995be969f4141dcf59997 (patch)
tree431e939f7219fe2a0bea1d282ac98fed35bcf7a9 /.jscs.json
parent3e57b29267a8cf0e2ff72711e1ce06432961dcdf (diff)
downloadjquery-ui-06df97d1bb1a97046ed995be969f4141dcf59997.tar.gz
jquery-ui-06df97d1bb1a97046ed995be969f4141dcf59997.zip
JSCS config: Set disallowSpaceAfter/BeforePrefixUnaryOperators
Diffstat (limited to '.jscs.json')
-rw-r--r--.jscs.json2
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" ],