.eslintrc 669 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "parser": "@typescript-eslint/parser",
  3. "parserOptions": {
  4. "project": "./tsconfig.json"
  5. },
  6. "extends": [
  7. "airbnb",
  8. "airbnb-typescript",
  9. "prettier",
  10. "plugin:@typescript-eslint/eslint-recommended",
  11. "plugin:@typescript-eslint/recommended"
  12. ],
  13. "plugins": ["prettier"],
  14. "rules": {
  15. "prettier/prettier": ["error"]
  16. },
  17. "overrides": [
  18. {
  19. "files": ["*.ts", "*.tsx"],
  20. "rules": {
  21. "jsx-a11y/no-static-element-interactions": "off",
  22. "jsx-a11y/click-events-have-key-events": "off",
  23. "react/no-array-index-key": "off"
  24. },"parserOptions": {
  25. "project": ["**/tsconfig.json"]
  26. }
  27. }
  28. ]
  29. }