{ "env": { "browser": true, "es2021": true }, "extends": [ "plugin:react/recommended", "airbnb", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended", "plugin:import/recommended", "plugin:import/typescript" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaFeatures": { "jsx": true }, "ecmaVersion": "latest", "sourceType": "module" }, "plugins": [ "react", "@typescript-eslint", "import" ], "rules": { "react/jsx-filename-extension": ["error", { "extensions": [".tsx"] }], "react/require-default-props": "off", "react/jsx-props-no-spreading": "off", "import/prefer-default-export": "off", "react/destructuring-assignment": 0, "react/function-component-definition": [2, { "namedComponents": "arrow-function" }], "import/no-unresolved": "error", "no-shadow": "off", "@typescript-eslint/no-shadow": ["error"], "prettier/prettier": [ "error", { "endOfLine": "auto" } ], "import/extensions": [ "error", "ignorePackages", { "js": "never", "jsx": "never", "ts": "never", "tsx": "never" } ], "import/no-extraneous-dependencies": [ "error", { "devDependencies": true, "optionalDependencies": false, "peerDependencies": false } ] }, "settings": { "import/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] }, "import/resolver": { "typescript": { "alwaysTryTypes": true } } } }