I know there is an option to disable those 'Unused Import' warnings give by tslint
when running ionic serve
or ionic build
. But I have no idea where to put it. Does anyone know? Thanks
[1] https://palantir.github.io/tslint/rules/no-unused-variable/
go into your
tslint.json
press ctrl+F, replacetrue
withfalse
Ok, that was quick.. Like often. I'm looking for days for a solution, but immediately after I post my question here, I find the solution on my own.
So, for all having the same problems during developing, you can set
no-unused-variable
tofalse
in the filetslint.json
.But don't forget to enable it again when you go to production.