{ "env": { "browser": true, "es2021": true, "node": true }, "extends": [ "next/core-web-vitals", "plugin:prettier/recommended", "plugin:react/recommended", "plugin:react-hooks/recommended" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaFeatures": { "jsx": true, "tsx": true }, "ecmaVersion": 12, "sourceType": "module" }, "plugins": ["react", "@typescript-eslint", "prettier", "react-hooks"], "rules": { "no-use-before-define": "off", "no-unused-vars": "warn", "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn", "valid-typeof": "off", "react/no-unescaped-entities": "warn", "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "endOfLine": "auto" } ] }, "settings": { "react": { "version": "detect" } } }