File tree 3 files changed +17
-1
lines changed
3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " next/core-web-vitals" ,
3
- "plugins" : [" prettier" ]
3
+ "plugins" : [" prettier" , " unused-imports" ],
4
+ "rules" : {
5
+ "unused-imports/no-unused-imports" : " warn"
6
+ }
4
7
}
Original file line number Diff line number Diff line change 66
66
"eslint-config-next" : " 13.4.19" ,
67
67
"eslint-config-prettier" : " ^8.8.0" ,
68
68
"eslint-plugin-prettier" : " ^5.1.3" ,
69
+ "eslint-plugin-unused-imports" : " ^3.2.0" ,
69
70
"husky" : " ^8.0.0" ,
70
71
"lint-staged" : " ^13.2.2" ,
71
72
"prettier" : " ^3.0.2" ,
Original file line number Diff line number Diff line change @@ -3367,6 +3367,18 @@ eslint-plugin-react@^7.31.7:
3367
3367
semver "^6.3.0"
3368
3368
string.prototype.matchall "^4.0.8"
3369
3369
3370
+ eslint-plugin-unused-imports@^3.2.0 :
3371
+ version "3.2.0"
3372
+ resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.2.0.tgz#63a98c9ad5f622cd9f830f70bc77739f25ccfe0d"
3373
+ integrity sha512-6uXyn6xdINEpxE1MtDjxQsyXB37lfyO2yKGVVgtD7WEWQGORSOZjgrD6hBhvGv4/SO+TOlS+UnC6JppRqbuwGQ==
3374
+ dependencies :
3375
+ eslint-rule-composer "^0.3.0"
3376
+
3377
+ eslint-rule-composer@^0.3.0 :
3378
+ version "0.3.0"
3379
+ resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9"
3380
+ integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==
3381
+
3370
3382
3371
3383
version "5.1.1"
3372
3384
resolved "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
You can’t perform that action at this time.
0 commit comments