No Description

.eslintrc.json 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "env": {
  3. "browser": true,
  4. "commonjs": true,
  5. "es6": true,
  6. "node": true
  7. },
  8. "parser": "babel-eslint",
  9. "parserOptions": {
  10. "ecmaVersion": 8,
  11. "ecmaFeatures": {
  12. "jsx": true,
  13. "experimentalObjectRestSpread": true
  14. },
  15. "sourceType": "module"
  16. },
  17. "rules": {
  18. "no-const-assign": "error",
  19. "no-undef": "error",
  20. "no-unused-vars": "warn",
  21. "no-this-before-super": "warn",
  22. "no-unreachable": "warn",
  23. "constructor-super": "warn",
  24. "valid-typeof": "warn",
  25. "react-native/no-unused-styles": "warn",
  26. "react-native/split-platform-components": "warn",
  27. "react-native/no-inline-styles": "off",
  28. "react-native/no-color-literals": "off"
  29. },
  30. "plugins": [
  31. "react",
  32. "jsx-a11y",
  33. "react-native"
  34. ],
  35. "extends": [
  36. "eslint:recommended",
  37. "plugin:react/recommended",
  38. "plugin:react-native/all",
  39. "plugin:jsx-a11y/recommended"
  40. ]
  41. }