Skip to content

Commit 976bebc

Browse files
committed
chore: update unused-imports/no-unused-imports flag
unused-imports/no-unused-imports-ts -> unused-imports/no-unused-imports as of eslint-plugin-unused-imports v3
1 parent 8db2b07 commit 976bebc

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.eslintrc.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
2-
"extends": [
3-
"eslint:recommended",
4-
"next/core-web-vitals",
5-
"prettier"
6-
],
2+
"extends": ["eslint:recommended", "next/core-web-vitals", "prettier"],
73
"env": {
84
"es6": true,
95
"node": true,
@@ -41,7 +37,7 @@
4137
// From the `constants` directory.
4238
["^@/lib/constants"],
4339
// `.storybook` directory and utils files`
44-
["^@/storybook","^@/storybook-utils"],
40+
["^@/storybook", "^@/storybook-utils"],
4541
// Parent imports. Put `..` last.
4642
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
4743
// Other relative imports. Put same-folder imports and `.` last.
@@ -63,7 +59,7 @@
6359
"varsIgnorePattern": "^_$"
6460
}
6561
],
66-
"unused-imports/no-unused-imports-ts": "warn"
62+
"unused-imports/no-unused-imports": "warn"
6763
},
6864
"overrides": [
6965
{

0 commit comments

Comments
 (0)