import/no-unassigned-import
Error prone
Warning
Aims to remove modules with side-effects by reporting when a module is imported but not assigned.
The Codiga Static Analysis engine checks TypeScript code and supports many popular libraries. If you are using React, NextJS, Vue or Angular: the engine will flag any issue in your codebase. Automate your code reviews with Codiga and merge with confidence.
Aims to remove modules with side-effects by reporting when a module is imported but not assigned.
Assign object to a variable before exporting as module default