.eslintrc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "parser": "babel-eslint",
  3. "extends": [
  4. "airbnb"
  5. ],
  6. "env": {
  7. "browser": true,
  8. "jest": true
  9. },
  10. "globals": {
  11. "__DEV__": true,
  12. "__PROD__": true,
  13. "__DEBUG__": true,
  14. "__COVERAGE__": true,
  15. "__BASENAME__": true
  16. },
  17. "settings": {
  18. "import/resolver": {
  19. "webpack": {
  20. "config": "webpack.config.js"
  21. }
  22. }
  23. },
  24. "rules": {
  25. "semi": [2, "never"],
  26. "comma-dangle": [2, "always-multiline"],
  27. "class-methods-use-this": 0,
  28. "max-len": 0,
  29. "prefer-const": 0,
  30. "arrow-parens": 0,
  31. "react/prefer-stateless-function": 0,
  32. "react/no-array-index-key": 0,
  33. "no-param-reassign": 0,
  34. "no-shadow": 0,
  35. "arrow-body-style": 0,
  36. "global-require": 0,
  37. "no-unused-expressions": 0,
  38. "no-confusing-arrow": 0,
  39. "import/no-dynamic-require": 0,
  40. "import/no-unresolved": 0,
  41. "import/extensions": 0,
  42. "import/no-extraneous-dependencies": 0,
  43. "import/prefer-default-export": 0,
  44. "react/require-default-props": 0,
  45. "react/forbid-prop-types": 0,
  46. "jsx-a11y/href-no-hash": 0
  47. }
  48. }