.eslintrc 707 B

1234567891011121314151617181920212223
  1. {
  2. "env": {
  3. "node": true
  4. },
  5. "rules": {
  6. // Disallow semi-colons, unless needed to disambiguate statement
  7. "semi": [2, "never"],
  8. // Require strings to use single quotes
  9. "quotes": [2, "single"],
  10. // Require curly braces for all control statements
  11. "curly": 2,
  12. // Disallow using variables and functions before they've been defined
  13. "no-use-before-define": 2,
  14. // Allow any case for variable naming
  15. "camelcase": 0,
  16. // Disallow unused variables, except as function arguments
  17. "no-unused-vars": [2, {"args":"none"}],
  18. // Allow leading underscores for method names
  19. // REASON: we use underscores to denote private methods
  20. "no-underscore-dangle": 0
  21. }
  22. }