5 ms·
The best way to introduce a formatter is with a git hook on commit/push (for JS projects see Husky), to ensure everyone is onboard and avoid exactly the formatt
by tga 7y ago
The best way to introduce a formatter is with a git hook on commit/push (for JS projects see Husky), to ensure everyone is onboard and avoid exactly the formatting churn you mention.
Thanks LaurensBER for the ‘git blame’ solution!
https://github.com/typicode/husky https://github.com/typicode/husky