Skip to content

Commit 7944244

Browse files
committedJul 17, 2024
fix: use a fork of eslint-plugin-unused-imports
Waiting for sweepline/eslint-plugin-unused-imports#88 resolve #539 resolve #529
1 parent 647d5e1 commit 7944244

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
}
9797
},
9898
"dependencies": {
99+
"@antfu/eslint-plugin-unused-imports": "^4.0.0",
99100
"@antfu/install-pkg": "^0.3.3",
100101
"@clack/prompts": "^0.7.0",
101102
"@stylistic/eslint-plugin": "^2.6.0-beta.0",
@@ -117,7 +118,6 @@
117118
"eslint-plugin-regexp": "^2.6.0",
118119
"eslint-plugin-toml": "^0.11.1",
119120
"eslint-plugin-unicorn": "^54.0.0",
120-
"eslint-plugin-unused-imports": "^4.0.0",
121121
"eslint-plugin-vitest": "^0.5.4",
122122
"eslint-plugin-vue": "^9.27.0",
123123
"eslint-plugin-yml": "^1.14.0",

‎pnpm-lock.yaml

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/plugins.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ export { default as pluginComments } from 'eslint-plugin-eslint-comments'
66
export * as pluginImport from 'eslint-plugin-import-x'
77
export { default as pluginNode } from 'eslint-plugin-n'
88
export { default as pluginUnicorn } from 'eslint-plugin-unicorn'
9-
export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports'
9+
export { default as pluginUnusedImports } from '@antfu/eslint-plugin-unused-imports'
1010
export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist'

0 commit comments

Comments
 (0)
Please sign in to comment.