IDE Support
VSCode
- Install VS Code ESLint extension
- Add the following settings to your project setting
.vscode/settings.json
:
JetBrains IDEs
- Open the Settings dialog
- Go to
Languages & Frameworks -> JavaScript -> Code Quality Tools -> ESLint
- Select the
Run eslint --fix on save
checkbox.
Refer to JetBrains Docs