Prettier is awesome, but I have noticed that on different IDEs it might format code differently which still is fine but could cause some weird changes in the changes log when doing PR. Still an awesome tool that automatise the tricky code formating.
it's possible that they may be using different versions of prettier, which can cause formatting differences. make sure that the project has a locally installed version of prettier pinned to a particular version.
Prettier is awesome, but I have noticed that on different IDEs it might format code differently which still is fine but could cause some weird changes in the changes log when doing PR. Still an awesome tool that automatise the tricky code formating.
P.S. Awesome article
Thanks for your comment! Do you know which IDEs it might format that code differently?
Most notably I have seen that there can be a difference in between VScode and Webstorm
it's possible that they may be using different versions of prettier, which can cause formatting differences. make sure that the project has a locally installed version of prettier pinned to a particular version.
prettier.io/docs/en/install.html#s...
prettier.io/docs/en/editors.html