vscode: ESLint codeActionsOnSave not work
Since I updated VSCode to v1.83.0, ESLint code actions on save does not work any more, and my user settings like below:
{
"editor.codeActionsOnSave": {
"source.fixAll": "never",
"source.fixAll.eslint": "always",
"source.fixAll.stylelint": "never",
"source.organizeImports": "never"
}
}
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 13
- Comments: 19 (12 by maintainers)
This does not work for me after updating to v1.83.0.
That issue above seems to have disappeared after updating to
1.84.0-insider
. The information about system and setting look like the following.closing! fix is out in release 1.83.2!
I am having the same issue since updating to 1.83.0.
My previous settings is like (NOT work):
When I change it to:
It works.
fix in PR now has intended behavior:
@recallwei I add a typo in my comment. A setting like the one you provided doesn’t work right now. What should work as a work around is
I tested it an the ESLint extension still works and in a setup with
boolean
values everything seem to work as expected@jrieken @justschen something seems to get broken with ESLint code action on save. I will debug this in ESLint but this is very likely cause by a change in VS Code.