and to achieve this could look like this:
// settings.json
{
// Don’t format files on save
"editor.formatOnSave": false,
// Autosave files on focus change
"files.autoSave": "onFocusChange",
// Don’t autosave files with syntax errors
"files.autoSaveWhenNoErrors": true,
"editor.codeActionsOnSave": {
// Trigger lint autofixing on explicit save (not on autosave)
"source.fixAll": "explicit"
},
"eslint.rules.customizations": [
// Change the severity of all autofixable issues to `off`
{ "rule": "*", "fixable": true, "severity": "off" }
]
}
And the if you enjoyed this article.
P.S. Check out my other Visual Studio Code extensions: , , ; and my themes: .
SOCIAL SHARE CARD GENERATOR