.jscsrc 1015 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "esnext": true,
  3. "disallowMixedSpacesAndTabs": true,
  4. "disallowSpaceAfterObjectKeys": true,
  5. "disallowSpaceBeforeBinaryOperators": [
  6. ","
  7. ],
  8. "disallowSpacesInsideArrayBrackets": true,
  9. "disallowSpacesInsideParentheses": true,
  10. "disallowTrailingWhitespace": true,
  11. "requireCommaBeforeLineBreak": true,
  12. "requireLineFeedAtFileEnd": true,
  13. "requireSpaceAfterBinaryOperators": [
  14. "=",
  15. ",",
  16. "+",
  17. "-",
  18. "/",
  19. "*",
  20. "==",
  21. "===",
  22. "!=",
  23. "!==",
  24. ":",
  25. "&&",
  26. "||"
  27. ],
  28. "requireSpaceAfterKeywords": [
  29. "if",
  30. "else",
  31. "for",
  32. "while",
  33. "do",
  34. "switch",
  35. "return",
  36. "try",
  37. "catch"
  38. ],
  39. "requireSpaceBeforeBinaryOperators": [
  40. "=",
  41. "+",
  42. "-",
  43. "/",
  44. "*",
  45. "==",
  46. "===",
  47. "!=",
  48. "!==",
  49. "&&",
  50. "||"
  51. ],
  52. "requireSpaceBeforeBlockStatements": true,
  53. "requireSpacesInFunctionExpression": {
  54. "beforeOpeningCurlyBrace": true
  55. },
  56. "validateQuoteMarks": {
  57. "escape": true,
  58. "mark": "'"
  59. }
  60. }