Skip to content

Commit

Permalink
Fix code styleguide for latest jscs updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 16, 2014
1 parent da68d5e commit 27cb241
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions .jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,39 +63,30 @@
"<",
"<="
],
"disallowLeftStickedOperators": [
"?",
"requireSpaceBeforeBinaryOperators": [
"=",
",",
"+",
"-",
"/",
"*",
"=",
"==",
"===",
"!=",
"!==",
">",
">=",
"<",
"<="
"!=="
],
"requireRightStickedOperators": ["!"],
"disallowRightStickedOperators": [
"?",
"requireSpaceAfterBinaryOperators": [
"=",
",",
"+",
"-",
"/",
"*",
":",
"=",
"==",
"===",
"!=",
"!==",
">",
">=",
"<",
"<="
"!=="
],
"requireLeftStickedOperators": [","],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"requireSpaceBeforeBinaryOperators": [
Expand Down Expand Up @@ -129,6 +120,7 @@
"validateQuoteMarks": "'",
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"disallowTrailingComma": true,
"disallowKeywordsOnNewLine": ["else"],
"requireLineFeedAtFileEnd": true,
"maximumLineLength": 78,
Expand Down

0 comments on commit 27cb241

Please sign in to comment.