Closed nfriedly closed 7 years ago
I didn't even realize that this also bit me in another project where I had karma-*
listed in my ignoreErrors.unused
and it nuked all of my karma plugins :(
Very sorry for that bug @nfriedly. I haven't used --auto-correct
all that much yet. I'm guessing there may also be related bugs around the other sections of ignore errors.
FWIW, this is still a handy tool that I'd keep using even without the --auto-correct
. But it'd be even awesomer if this worked better ;)
I'd offer to send a PR, but I think it'll be at least 3 weeks before I can look at it, and I'm only so-so at writing correct coffeescript :/
Fix released with version 4.3.1
Thanks!
I have several things listed in my
ignoreErrors.unused
:When I run
dependency-lint
these are ignored as expected. However, when I rundependency-lint --auto-correct
they are again reported as ignored, but are actually "fixed" (deleted from package.json). This, of course, actually breaks things.