Just a feature request. Is it possible to add support for unused imported modules and the ability to automatically remove any unused module?
Thanks.
This is typically a job of the linter and currently tslint supports the no-unused-variable
flag.
as @kitsonk a lint rule should address this. We should revisit this when we have definite assignment analysis infrastructure in place.
For posterity it seems that the --no-unused-locals
flag addresses this
Most helpful comment
For posterity it seems that the
--no-unused-locals
flag addresses this