1
0

.eslintrc 1008 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "env": {
  3. "browser": true,
  4. "node": false,
  5. "es6": true
  6. },
  7. "parser": "babel-eslint",
  8. "plugins": [
  9. "react"
  10. ],
  11. "parserOptions": {
  12. "sourceType": "module",
  13. "ecmaFeatures": {
  14. "arrowFunctions": true,
  15. "jsx": true,
  16. "destructuring": true,
  17. "modules": true,
  18. "spread": true
  19. }
  20. },
  21. "rules": {
  22. "no-cond-assign": 2,
  23. "no-console": 1,
  24. "no-irregular-whitespace": 2,
  25. "no-unreachable": 2,
  26. "valid-typeof": 2,
  27. "consistent-return": 2,
  28. "dot-notation": 2,
  29. "eqeqeq": 2,
  30. "no-fallthrough": 2,
  31. "no-unused-expressions": 2,
  32. "strict": 0,
  33. "no-catch-shadow": 2,
  34. "indent": [1, 2],
  35. "brace-style": 1,
  36. "comma-spacing": [1, {"before": false, "after": true}],
  37. "comma-style": [1, "last"],
  38. "no-mixed-spaces-and-tabs": 1,
  39. "no-nested-ternary": 1,
  40. "no-trailing-spaces": 1,
  41. "react/wrap-multilines": 2,
  42. "react/self-closing-comp": 2,
  43. "react/prop-types": 2,
  44. "react/no-multi-comp": 0
  45. }
  46. }