.eslintrc.json 935 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "env": {
  3. "es6": true,
  4. "browser": true,
  5. "jest": true,
  6. "node": true
  7. },
  8. "extends": [
  9. "eslint:recommended",
  10. "plugin:react/recommended",
  11. "plugin:prettier/recommended",
  12. "plugin:@typescript-eslint/recommended",
  13. "prettier",
  14. "prettier/react",
  15. "prettier/@typescript-eslint"
  16. ],
  17. "parser": "@typescript-eslint/parser",
  18. "plugins": [
  19. "jsx-a11y",
  20. "@typescript-eslint",
  21. "prettier"
  22. ],
  23. "rules": {
  24. "react/display-name": "off",
  25. "@typescript-eslint/no-explicit-any": "off",
  26. "@typescript-eslint/explicit-function-return-type": "off",
  27. "@typescript-eslint/camelcase": "off",
  28. "@typescript-eslint/explicit-module-boundary-types": "off"
  29. },
  30. "settings": {
  31. "react": {
  32. "version": "detect"
  33. },
  34. "import/resolver": {
  35. "node": {
  36. "extensions": [
  37. ".js",
  38. ".jsx",
  39. ".ts",
  40. ".tsx"
  41. ]
  42. }
  43. }
  44. }
  45. }