.eslintrc.json 752 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "env": {
  3. "browser": true,
  4. "es2020": true
  5. },
  6. "extends": [
  7. "eslint:recommended"
  8. ],
  9. "overrides": [
  10. {
  11. "files": ["*.ts", "*.tsx"],
  12. "parser": "@typescript-eslint/parser",
  13. "plugins": ["@typescript-eslint"],
  14. "rules": {
  15. "@typescript-eslint/no-explicit-any": "off",
  16. "@typescript-eslint/no-unused-vars": "off",
  17. "no-unused-vars": "off",
  18. "react-hooks/exhaustive-deps": "off"
  19. }
  20. }
  21. ],
  22. "parserOptions": {
  23. "ecmaVersion": "latest",
  24. "sourceType": "module"
  25. },
  26. "plugins": [
  27. "react-refresh"
  28. ],
  29. "rules": {
  30. "react-refresh/only-export-components": [
  31. "warn",
  32. { "allowConstantExport": true }
  33. ],
  34. "react-hooks/exhaustive-deps": "off"
  35. }
  36. }