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.
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 !
lint-staged with husky gives ultimate power to manage your code
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
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 !
lint-staged with husky gives ultimate power to manage your code