diff --git a/.jscs.json b/.jscs.json index f832638f4b..106dc8cd2b 100644 --- a/.jscs.json +++ b/.jscs.json @@ -13,6 +13,8 @@ "disallowLeftStickedOperators": [ "?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ], "disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], + "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"], + "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "requireRightStickedOperators": [ "!" ], "requireLeftStickedOperators": [ "," ], "disallowKeywords": [ "with" ],