|
26 | 26 | "react-hooks",
|
27 | 27 | "unicorn",
|
28 | 28 | "simple-import-sort",
|
29 |
| - "import" |
| 29 | + "import-x" |
30 | 30 | ],
|
31 | 31 | "rules": {
|
32 | 32 | "prettier/prettier": [
|
|
56 | 56 | }
|
57 | 57 | ],
|
58 | 58 | "import/prefer-default-export": "off",
|
59 |
| - "import/extensions": [ |
| 59 | + "import-x/extensions": [ |
60 | 60 | "error",
|
61 | 61 | "ignorePackages",
|
62 | 62 | {
|
63 | 63 | "ts": "never",
|
64 | 64 | "tsx": "never"
|
65 | 65 | }
|
66 | 66 | ],
|
67 |
| - "import/no-extraneous-dependencies": "off", |
| 67 | + "import-x/no-extraneous-dependencies": "off", |
68 | 68 | "unicorn/filename-case": "off",
|
69 | 69 | "no-use-before-define": "off",
|
70 | 70 | "@typescript-eslint/explicit-module-boundary-types": "off",
|
|
175 | 175 | ]
|
176 | 176 | }
|
177 | 177 | ],
|
178 |
| - "import/no-import-module-exports": "off", |
| 178 | + "import-x/no-import-module-exports": "off", |
179 | 179 | "react/jsx-uses-react": "off",
|
180 | 180 | "react/react-in-jsx-scope": "off",
|
181 | 181 | "react/jsx-max-props-per-line": "off",
|
182 | 182 | "no-nested-ternary": "error",
|
183 |
| - "import/order": "off", |
| 183 | + "import-x/order": "off", |
184 | 184 | "simple-import-sort/imports": [
|
185 | 185 | "error",
|
186 | 186 | {
|
|
196 | 196 | }
|
197 | 197 | ],
|
198 | 198 | "simple-import-sort/exports": "error",
|
199 |
| - "import/first": "error", |
200 |
| - "import/newline-after-import": "error", |
201 |
| - "import/no-duplicates": "error", |
| 199 | + "import-x/first": "error", |
| 200 | + "import-x/newline-after-import": "error", |
| 201 | + "import-x/no-duplicates": "error", |
202 | 202 | "no-continue": "off",
|
203 | 203 | "jsx-a11y/label-has-associated-control": [
|
204 | 204 | "error",
|
|
211 | 211 | "no-console": "off"
|
212 | 212 | },
|
213 | 213 | "settings": {
|
214 |
| - "import/resolver": { |
215 |
| - "typescript": {} |
| 214 | + "import-x/resolver": { |
| 215 | + "typescript": true, |
| 216 | + "node": true |
216 | 217 | },
|
217 | 218 | "react": {
|
218 | 219 | "version": "detect"
|
|
0 commit comments