Tom-Bonnike / vscode-formatting-toggle

A VS Code extension that allows you to toggle the formatter (Prettier, Beautify, …) ON and OFF with a simple click.
https://marketplace.visualstudio.com/items?itemName=tombonnike.vscode-status-bar-format-toggle
MIT License
60 stars 13 forks source link

Does not work with ESLint extension #53

Closed vlanemcev closed 4 years ago

vlanemcev commented 4 years ago

To ESLint - https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint you need to specify the property:

"editor.codeActionsOnSave": { "source.fixAll": true }

instead of formatOnSave

Tom-Bonnike commented 4 years ago

This extension is meant to toggle formatters (like Prettier), not linters. It never was supposed to impact ESLint since you (usually) only want it on projects with a config file. Or are you using a global config? 😕

Tom-Bonnike commented 4 years ago

I’ll close for now.