.eslintrc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "extends": "airbnb",
  3. "parser": "babel-eslint",
  4. "env": {
  5. "browser": true,
  6. "jest": true,
  7. "node": true
  8. },
  9. "rules": {
  10. "no-debugger": 1,
  11. "comma-dangle": 0,
  12. "global-require": 0,
  13. "sort-keys": [
  14. "error",
  15. "asc",
  16. {
  17. "caseSensitive": false,
  18. "natural": true
  19. }
  20. ],
  21. "import/no-extraneous-dependencies": [
  22. "error",
  23. {
  24. "devDependencies": true,
  25. "optionalDependencies": true,
  26. "peerDependencies": true
  27. }
  28. ],
  29. "import/prefer-default-export": 0,
  30. "jsx-a11y/no-static-element-interactions": 0,
  31. "no-param-reassign": 0,
  32. "no-restricted-properties": 0,
  33. "object-curly-spacing": 0,
  34. "react/destructuring-assignment": 0,
  35. "react/jsx-closing-bracket-location": 0,
  36. "react/jsx-filename-extension": [
  37. 2,
  38. {
  39. "extensions": [
  40. ".js",
  41. ".jsx"
  42. ]
  43. }
  44. ],
  45. "react/prefer-stateless-function": 0,
  46. "react/sort-comp": 0,
  47. "react/prop-types": 0,
  48. "jsx-a11y/click-events-have-key-events": 0,
  49. "jsx-a11y/mouse-events-have-key-events": 0
  50. }
  51. }