.jscsrc 980 B

12345678910111213141516171819202122
  1. {
  2. "requireSpaceAfterKeywords": [
  3. "if", "else", "for", "while", "do", "switch", "return"
  4. ],
  5. "disallowSpacesInFunctionExpression": {
  6. "beforeOpeningRoundBrace": true,
  7. "beforeOpeningCurlyBrace": true
  8. },
  9. "disallowSpacesInsideObjectBrackets": true,
  10. "disallowSpacesInsideArrayBrackets": true,
  11. "disallowSpacesInsideParentheses": true,
  12. "disallowQuotedKeysInObjects": "allButReserved",
  13. "disallowSpaceAfterObjectKeys": true,
  14. "requireSpaceAfterBinaryOperators": ["==", "===", "!=", "!==", ">", "<", ">=", "<="],
  15. "requireSpaceBeforeBinaryOperators": ["==", "===", "!=", "!==", ">", "<", ">=", "<="],
  16. "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
  17. "disallowSpaceBeforeBinaryOperators": [","],
  18. "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
  19. "validateLineBreaks": "LF",
  20. "requireKeywordsOnNewLine": ["return", "break", "delete"],
  21. "requireLineFeedAtFileEnd": true
  22. }