linter-eslint
linter-eslint copied to clipboard
react-hooks/exhaustive-deps fix button
Issue Type
Bug/Feature Request
Issue Description
It seems that facebook disabled autofix for the react-hooks/exhaustive-deps rule. When I see this linter error, I see the error message, but I do not see a "fix" button, like I do for other linter errors:

Other rules do have a "fix" button:

Is this something that needs to be added to linter-eslint? The facebook issue mentions the ESLint Suggestions API, so maybe this packages needs to be updated to use that?
The rule needs to be fixable in order to see the fix button
Hi @UziTech, this is a fixable rule in VS Code and it used to work in Atom. As I mentioned above, I think it's because the ESLint Suggestions API has changed. Can we update this package to support the react-hooks/exhaustive-deps fix button?