Closed SamHuo213 closed 1 year ago
Guys, pay attention to the readme:
Version 3.x.x is for eslint 8 with @typescript-eslint/eslint-plugin 6
Version 2.x.x is for eslint 8 with @typescript-eslint/eslint-plugin 5
You're both installing incorrect versions
My apologies for not rtfm carefully. Given my scenario, switching to v2.x.x works.
While installing
npm install eslint-plugin-unused-imports --save-dev
I get the following error
npm ERR! While resolving: eslint-plugin-unused-imports@3.0.0 npm ERR! Found: @typescript-eslint/eslint-plugin@5.62.0 npm ERR! node_modules/@typescript-eslint/eslint-plugin npm ERR! dev @typescript-eslint/eslint-plugin@"^5.59.11" from the root project