DEV Community

Discussion on: How to properly set up Prettier in less than 2 minutes

Collapse
 
willytjandra profile image
Willy Tjandra

In addition, you can also enable format on save in vscode, which will run prettier to format your code.

I prefer this before developer commit their code.

Collapse
 
bokub profile image
Boris K

If you're developing an open-source product for example, you cannot force every contributor to use vscode and configure it exactly like you expect !

Collapse
 
patoi profile image
István Pató

lint-staged with husky gives ultimate power to manage your code