|
| 1 | +{ |
| 2 | + "$schema": "https://json.schemastore.org/eslintrc", |
| 3 | + "parser": "@typescript-eslint/parser", |
| 4 | + "parserOptions": { |
| 5 | + "project": "tsconfig.json" |
| 6 | + }, |
| 7 | + "plugins": ["@typescript-eslint"], |
| 8 | + "extends": [ |
| 9 | + "next/core-web-vitals", |
| 10 | + "plugin:@typescript-eslint/recommended-type-checked", |
| 11 | + "plugin:@typescript-eslint/stylistic-type-checked", |
| 12 | + "plugin:prettier/recommended", |
| 13 | + "plugin:tailwindcss/recommended" |
| 14 | + ], |
| 15 | + "root": true, |
| 16 | + "rules": { |
| 17 | + "@next/next/no-html-link-for-pages": "off", |
| 18 | + "@next/next/no-img-element": "off", |
| 19 | + "tailwindcss/no-custom-classname": "off", |
| 20 | + "@typescript-eslint/array-type": "off", |
| 21 | + "@typescript-eslint/consistent-type-definitions": "off", |
| 22 | + "@typescript-eslint/consistent-type-imports": [ |
| 23 | + "warn", |
| 24 | + { "prefer": "type-imports", "fixStyle": "inline-type-imports" } |
| 25 | + ], |
| 26 | + "@typescript-eslint/no-unused-vars": [ |
| 27 | + "warn", |
| 28 | + { "argsIgnorePattern": "^_" } |
| 29 | + ], |
| 30 | + "@typescript-eslint/require-await": "off", |
| 31 | + "@typescript-eslint/no-misused-promises": [ |
| 32 | + "error", |
| 33 | + { "checksVoidReturn": { "attributes": false } } |
| 34 | + ] |
| 35 | + }, |
| 36 | + "settings": { |
| 37 | + "tailwindcss": { |
| 38 | + "callees": ["cn"] |
| 39 | + } |
| 40 | + }, |
| 41 | + "overrides": [ |
| 42 | + { |
| 43 | + "files": ["tailwind.config.ts"], |
| 44 | + "rules": { |
| 45 | + "@typescript-eslint/no-require-imports": "off" |
| 46 | + } |
| 47 | + } |
| 48 | + ] |
| 49 | +} |
0 commit comments