{ "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "project": "./tsconfig.json" }, "extends": [ "next/core-web-vitals", "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", "prettier", "plugin:tailwindcss/recommended" ], "plugins": ["@typescript-eslint", "import", "unused-imports", "tailwindcss"], "rules": { "semi": "error", "no-console": "warn", "no-var": "error", "sort-imports": 0, "no-unused-vars": "warn", "import/order": [ "error", { "groups": [ "builtin", "external", "internal", ["parent", "sibling"], "object", "type", "index" ], "newlines-between": "always", "pathGroupsExcludedImportTypes": ["builtin"], "alphabetize": { "order": "asc", "caseInsensitive": true } } ], "unused-imports/no-unused-imports": "error", "unused-imports/no-unused-vars": [ "warn", { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" } ], "tailwindcss/classnames-order": "warn", "tailwindcss/no-custom-classname": "warn", "tailwindcss/no-contradicting-classname": "error" } }