3👍
✅
You can check your VSCode formatter by Ctrl + Shift + P, search Format Document ...
then choose the formatter which you want.
Second, you can install Prettier ESLint – Visual Studio Marketplace. It makes Prettier work with ESlint.
Source:stackexchange.com