.eslintrc 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "parser": "babel-eslint",
  3. "env": {
  4. "node": true,
  5. "mocha": true,
  6. "browser": true
  7. },
  8. "rules": {
  9. "strict": 0, //taken care of automatically by babel
  10. "no-mixed-spaces-and-tabs": 2,
  11. "eqeqeq": 2,
  12. "no-eq-null": 2,
  13. "consistent-this": 2,
  14. "guard-for-in": 2,
  15. "no-caller": 2,
  16. "no-underscore-dangle": 2,
  17. "curly": 2,
  18. "no-multi-spaces": 2,
  19. "key-spacing": 0,
  20. "no-return-assign": 2,
  21. "consistent-return": 2,
  22. "no-shadow": 2,
  23. "comma-dangle": 2,
  24. "no-use-before-define": 2,
  25. "no-empty": 2,
  26. "new-parens": 2,
  27. "no-cond-assign": 2,
  28. "no-fallthrough": 2,
  29. "new-cap": 2,
  30. "no-loop-func": 2,
  31. "no-unreachable": 2,
  32. "no-process-exit": 2,
  33. "quotes": [2, "double", "avoid-escape"]
  34. }
  35. }