{ "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "jsx-a11y"], "extends": [ "plugin:react/recommended", "eslint:recommended", "prettier" ], "env": { "node": true, "browser": true, "jest": true }, "parserOptions": { "ecmaVersion": 2020, "sourceType": "module", // Allows for the use of imports "ecmaFeatures": { "legacyDecorators": true, "jsx": true }, "project": "./tsconfig.json" }, "settings": { "react": { "version": "detect" // Tells eslint-plugin-react to automatically detect the version of React to use }, "import/resolver": { "node": { "paths": ["src"], "extensions": [".js", ".jsx", ".ts", ".tsx"] } } }, "rules": { "space-before-function-paren": 0, "react/prop-types": 0, "react/jsx-handler-names": 0, "react/jsx-fragments": 0, "react/no-unused-prop-types": 0, "import/export": 0, "no-unsafe" : 0, "no-empty" : 0, "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": ["off"], "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/interface-name-prefix": "off", "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-namespace": "off", "@typescript-eslint/camelcase": "off", "jsx-a11y/label-has-associated-control": 0, "jsx-a11y/click-events-have-key-events": 0, "jsx-a11y/no-noninteractive-element-interactions": 0, "jsx-a11y/no-static-element-interactions": 0, "jsx-a11y/no-noninteractive-element-to-interactive-role": 0, "jsx-a11y/media-has-caption": 0, "jsx-a11y/no-autofocus": 0, "react/display-name": "off", "no-use-before-define": "off", "camelcase": "off", "react/react-in-jsx-scope": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/ban-types": [ "error", { "extendDefaults": false } ] }, "globals": { "fetch": false } }