{ "env": { "browser": true, "es2021": true }, "extends": [ "airbnb-typescript", "airbnb/hooks", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "prettier" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaFeatures": { "jsx": true }, "ecmaVersion": 12, "sourceType": "module", "project": "./tsconfig.json" }, "plugins": [ "import", "react", "@typescript-eslint" ], "rules": { "react/react-in-jsx-scope": "off", "no-nested-ternary": "off", "react/prop-types": "off", // Since we do not use prop-types "react/require-default-props": "off", // Since we do not use prop-types "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn", "@typescript-eslint/no-unused-vars": [ "warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } ], "@typescript-eslint/naming-convention": [ "warn", { "format": null, "leadingUnderscore": "allowSingleOrDouble", "selector": "variableLike" } ], "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-shadow": "off", "no-use-before-define": "off", "@typescript-eslint/no-use-before-define": [ "error", { "functions": false } ] } }