payload icon indicating copy to clipboard operation
payload copied to clipboard

style(eslint): no unused imports

Open denolfe opened this issue 1 year ago • 2 comments

Swap out @typescript-eslint/no-unused-vars for eslint-plugin-unused-imports

This allows setting the levels differently for unused imports vs. unused vars. Unused imports are now set to error and will autofix.

denolfe avatar Nov 14 '24 21:11 denolfe

Does this work in jsx files? According to their readme this plugin needs eslint-plugin-react to function correctly, which we're not using

AlessioGr avatar Nov 14 '24 21:11 AlessioGr

Does this work in jsx files? According to their readme this plugin needs eslint-plugin-react to function correctly, which we're not using

JSX is the past.

denolfe avatar Nov 14 '24 21:11 denolfe