From 06df97d1bb1a97046ed995be969f4141dcf59997 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Mon, 9 Dec 2013 13:04:33 +0100 Subject: JSCS config: Set disallowSpaceAfter/BeforePrefixUnaryOperators --- .jscs.json | 2 ++ 1 file changed, 2 insertions(+) (limited to '.jscs.json') 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" ], -- cgit v1.2.3