eslint-plugin-diff
eslint-plugin-diff copied to clipboard
Always run messages that have fixes
Hi there,
Firstly, thanks for this great plugin, it's a huge help to incrementally enabling new lint rules on our code base 🥳
There's one issue we ran into where on our pre commit hook we use this plugin to auto sort imports, however because the fixer affects lines of code that weren't actually changed the fixer never runs and our imports are no longer auto sorted.
The easiest way I could see to fix this is to always run rules that have auto fixes. I think it makes sense to always do this but maybe it should be an option or something? Happy to discuss this more!