Well one "good" reason is that because JS is so dynamic and ESLint doesn't give enough tools to be 100% sure of some things, and therefore rules tend to leave the developer the care to validate the report is correct and to then make the change. For elm-review, we tend to more certain about a lot more things so we can be more aggressive in the automatic fixes.
View all comments
Show parent comment
2
u/jfmengels Aug 26 '26
Not that I've used it, but in eslint-plugin-lodash (https://www.npmjs.com/package/eslint-plugin-lodash#user-content-preference-over-native), there are some rules to switch to using functions provided by Lodash when adequate. From a (very) quick skim, it doesn't look like those rules provide automatic fixes, but I don't see why they couldn't.
Well one "good" reason is that because JS is so dynamic and ESLint doesn't give enough tools to be 100% sure of some things, and therefore rules tend to leave the developer the care to validate the report is correct and to then make the change. For elm-review, we tend to more certain about a lot more things so we can be more aggressive in the automatic fixes.