Setting a Shortcut for ESLint Fix all auto-fixable Problems in VS Code
When working on the frontend, ESLint is often used. It's convenient to set up a keyboard shortcut for ESLint, just like Reformat File. However, VS Code doesn't
GGAMI
When working on the frontend, ESLint is often used.
It's convenient to set up a keyboard shortcut for ESLint, just like Reformat File.
However, VS Code doesn't have an ESLint shortcut configured by default, so you can set one up.
Open the keybindings.json file.
{
"key": "ctrl+alt+shift+o",
"command": "eslint.executeAutofix",