DEV Community

Discussion on: How to auto format code on vscode

Collapse
 
amorpheuz profile image
Yash Dave

There is a setting available in ESLint extension for that! Open this marketplace.visualstudio.com/items... and look for eslint.format.enable under the Settings Options. If you set ESlint as the default formatter, it should be the one formatting your code on Shift + Alt + F.

Collapse
 
hbwebdev profile image
hb-webdev

I apparently forgot I was using lint--I was tearing my hair out trying to get formatting shortcuts to work! Thx