Skip to content

Commit

Permalink
JSCS: Changed StickedOperator to BinaryOperator
Browse files Browse the repository at this point in the history
The left stick operator can catch on negative values, so the
recommendation is to use the BinaryOperator versions in most cases
  • Loading branch information
nschonni committed Mar 7, 2014
1 parent b66abd3 commit f65b0c7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .jscsrc
Expand Up @@ -27,7 +27,9 @@
"beforeOpeningRoundBrace": true
},
"disallowLeftStickedOperators": [
"?",
"?"
],
"requireSpaceBeforeBinaryOperators": [
"-",
"/",
"*",
Expand All @@ -42,7 +44,9 @@
"<="
],
"disallowRightStickedOperators": [
"?",
"?"
],
"requireSpaceBeforeBinaryOperators": [
"/",
"*",
":",
Expand Down

0 comments on commit f65b0c7

Please sign in to comment.