for autofix on save code example
Example 1: ESlint › Code Actions On Save
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
Example 2: auto save eslintrc
Editor: Code Actions On Save
Code action kinds to be run on save.
Edit in settings.jsonnmnmn