Skip to content

Commit 06df97d

Browse files
committed
JSCS config: Set disallowSpaceAfter/BeforePrefixUnaryOperators
1 parent 3e57b29 commit 06df97d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.jscs.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"disallowLeftStickedOperators": [ "?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
1414
"disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
1515
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
16+
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
17+
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
1618
"requireRightStickedOperators": [ "!" ],
1719
"requireLeftStickedOperators": [ "," ],
1820
"disallowKeywords": [ "with" ],

0 commit comments

Comments
 (0)