ctrl+shift+p
- “Install Extensions” - install and enable “Eslint”
reboot VSCode
ctrl+shift+p
- “Open User Settings” - update
{
"files.trimTrailingWhitespace": true,
"javascript.validate.enable": true
}
ctrl+shift+p
- “Open Keyboard Shortcuts” - update
[
{
"key": "shift+alt+f",
"command": "eslint.executeAutofix",
"when": "editorTextFocus && !editorReadonly"
}
]