Skip to content
Permalink
Browse files

JSCS config: Set disallowSpaceAfter/BeforePrefixUnaryOperators

  • Loading branch information
jzaefferer committed Dec 9, 2013
1 parent 3e57b29 commit 06df97d1bb1a97046ed995be969f4141dcf59997
Showing with 2 additions and 0 deletions.
  1. +2 −0 .jscs.json
@@ -13,6 +13,8 @@
"disallowLeftStickedOperators": [ "?", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
"disallowRightStickedOperators": [ "?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"requireRightStickedOperators": [ "!" ],
"requireLeftStickedOperators": [ "," ],
"disallowKeywords": [ "with" ],

0 comments on commit 06df97d

Please sign in to comment.
You can’t perform that action at this time.