|
1 | 1 | {
|
2 | 2 | "root": true,
|
3 |
| - "extends": [ |
4 |
| - "next", |
5 |
| - "next/core-web-vitals", |
6 |
| - "plugin:import/recommended", |
7 |
| - "plugin:import/typescript", |
8 |
| - "plugin:tailwindcss/recommended", |
9 |
| - "plugin:prettier/recommended" |
10 |
| - ], |
11 |
| - "plugins": ["jest", "testing-library", "@typescript-eslint/eslint-plugin"], |
12 |
| - "rules": { |
13 |
| - "@typescript-eslint/consistent-type-imports": [ |
14 |
| - "error", |
15 |
| - { |
16 |
| - "prefer": "type-imports", |
17 |
| - "disallowTypeAnnotations": true, |
18 |
| - "fixStyle": "inline-type-imports" |
19 |
| - } |
20 |
| - ], |
21 |
| - "import/order": [ |
22 |
| - "error", |
23 |
| - { |
24 |
| - "groups": [ |
25 |
| - ["builtin", "external"], |
26 |
| - "internal", |
27 |
| - "parent", |
28 |
| - "sibling", |
29 |
| - "index" |
30 |
| - ], |
31 |
| - "pathGroups": [ |
32 |
| - { |
33 |
| - "pattern": "^/**", |
34 |
| - "group": "internal" |
35 |
| - } |
36 |
| - ], |
37 |
| - "alphabetize": { |
38 |
| - "order": "asc", |
39 |
| - "caseInsensitive": true |
40 |
| - }, |
41 |
| - "newlines-between": "never", |
42 |
| - "warnOnUnassignedImports": true |
43 |
| - } |
44 |
| - ], |
45 |
| - // Sort imports to sort import members |
46 |
| - "sort-imports": [ |
47 |
| - "error", |
48 |
| - { "ignoreCase": true, "ignoreDeclarationSort": true } |
49 |
| - ], |
50 |
| - "react/jsx-no-leaked-render": "error" |
51 |
| - }, |
52 |
| - "overrides": [ |
53 |
| - { |
54 |
| - "files": [ |
55 |
| - "**/__tests__/**/*.[jt]s?(x)", |
56 |
| - "**/?(*.)+(spec|test).[jt]s?(x)" |
57 |
| - ], |
58 |
| - "extends": [ |
59 |
| - "plugin:jest/recommended", |
60 |
| - "plugin:jest/style", |
61 |
| - "plugin:testing-library/react" |
62 |
| - ] |
63 |
| - } |
64 |
| - ], |
65 |
| - "settings": { |
66 |
| - "tailwindcss": { |
67 |
| - "callees": ["clsx", "cx", "cva", "twMerge"] |
68 |
| - } |
69 |
| - } |
| 3 | + "extends": ["@obusk/next"] |
70 | 4 | }
|
0 commit comments