Turj
Turj
Explore posts from servers
DDeno
Created by Turj on 10/23/2024 in #help
Is there a way to auto-fix the `no-unused-vars` lint in deno
I'm running Deno 2.0 for my Fresh project and sometimes end up having a lot of unused variables. It would have been awesome to have a quick option to remove all imports and unused variables automatically, something similar to what's done here. I was looking for something akin to simply using deno lint --fix and that would remove all the unused variables automatically instead of me having to do it manually. I tried running the deno lint --fix command but it didn't auto-remove it. If it's not available yet, I'm happy to send in a PR for it if someone can tell me where in the project I can implement it.
1 replies