.eslintrc 743 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "env": {
  3. "node": true
  4. },
  5. "rules": {
  6. "array-bracket-spacing": [2, "never"],
  7. "block-scoped-var": 2,
  8. "brace-style": [2, "1tbs"],
  9. "camelcase": 1,
  10. "computed-property-spacing": [2, "never"],
  11. "curly": 2,
  12. "eol-last": 2,
  13. "eqeqeq": [2, "smart"],
  14. "max-depth": [1, 3],
  15. "max-len": [1, 80],
  16. "max-statements": [1, 15],
  17. "new-cap": 1,
  18. "no-extend-native": 2,
  19. "no-mixed-spaces-and-tabs": 2,
  20. "no-trailing-spaces": 2,
  21. "no-unused-vars": 1,
  22. "no-use-before-define": [2, "nofunc"],
  23. "object-curly-spacing": [2, "never"],
  24. "quotes": [2, "single", "avoid-escape"],
  25. "semi": [2, "always"],
  26. "keyword-spacing": [2, {"before": true, "after": true}],
  27. "space-unary-ops": 2
  28. }
  29. }