.eslintrc 850 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "root": true,
  3. "extends": [
  4. "eslint:recommended",
  5. "plugin:@typescript-eslint/recommended",
  6. "plugin:prettier/recommended",
  7. "plugin:react/recommended",
  8. "plugin:react-hooks/recommended"
  9. ],
  10. "parser": "@typescript-eslint/parser",
  11. "plugins": [
  12. "@typescript-eslint",
  13. "prettier",
  14. "react",
  15. "react-hooks"
  16. ],
  17. "settings": {
  18. "react": {
  19. "version": "detect"
  20. }
  21. },
  22. "rules": {
  23. "@typescript-eslint/ban-ts-comment": "off",
  24. "@typescript-eslint/no-explicit-any": "off",
  25. "@typescript-eslint/no-unused-vars": "off",
  26. "@typescript-eslint/no-empty-interface": "off",
  27. "@typescript-eslint/consistent-type-imports": "error",
  28. "react/no-unescaped-entities": ["error", { "forbid": [">"] }]
  29. }
  30. }