payload
payload copied to clipboard
style(eslint): no unused imports
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.
Does this work in jsx files? According to their readme this plugin needs eslint-plugin-react to function correctly, which we're not using
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.