.eslintrc.json 663 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "env": {
  3. "browser": true,
  4. "es6": true
  5. },
  6. "extends": ["plugin:react/recommended"],
  7. "globals": {
  8. "Atomics": "readonly",
  9. "SharedArrayBuffer": "readonly"
  10. },
  11. "parserOptions": {
  12. "ecmaFeatures": {
  13. "jsx": true
  14. },
  15. "ecmaVersion": 2018,
  16. "sourceType": "module"
  17. },
  18. "plugins": ["react"],
  19. "parser": "babel-eslint",
  20. "rules": {
  21. "eqeqeq": "off",
  22. "camelcase": "off",
  23. "no-new": "off",
  24. "react/prop-types": 0,
  25. "react/display-name": 0
  26. },
  27. "settings":{
  28. "react": {
  29. "version": "detect"
  30. }
  31. }
  32. }