Closed mvayngrib closed 2 years ago
i just enabled the no-unused-vars rule in our .eslintrc, and it found ~1k unused vars across our files :)
no-unused-vars
eslint + eslint-nibble can autofix many linting issues, but it needs to be at least reviewed by eyeball. @pgmemk want to give it a try?
cleaned up most of the unused vars. Some of them in your sources I was not sure about. But I deleted about 800 unused vars. Thanks :)
fixed
i just enabled the
no-unused-vars
rule in our .eslintrc, and it found ~1k unused vars across our files :)eslint + eslint-nibble can autofix many linting issues, but it needs to be at least reviewed by eyeball. @pgmemk want to give it a try?