DEV Community


Discussion on: How to auto format code on vscode

amorpheuz profile image
Yash Dave

There is a setting available in ESLint extension for that! Open this 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.

hbwebdev profile image

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