Front end of the Slack clone application.

.jscsrc 765B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "esnext": true,
  3. "disallowSpacesInAnonymousFunctionExpression": {
  4. "beforeOpeningRoundBrace": true
  5. },
  6. "disallowTrailingComma": true,
  7. "requireBlocksOnNewline": true,
  8. "requireLineFeedAtFileEnd": true,
  9. "requireSpaceAfterKeywords": [
  10. "if",
  11. "else",
  12. "for",
  13. "while",
  14. "do",
  15. "switch",
  16. "return",
  17. "try",
  18. "catch"
  19. ],
  20. "requireSpaceBeforeBlockStatements": true,
  21. "requireSpacesInConditionalExpression": true,
  22. "requireSpacesInFunctionExpression": {
  23. "beforeOpeningCurlyBrace": true
  24. },
  25. "safeContextKeyword": ["globalObject", "self"],
  26. "validateQuoteMarks": {
  27. "escape": true,
  28. "mark": "'"
  29. },
  30. "validateIndentation": 4
  31. }