13
How to enforce coding styles across a team
(gomakethings.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Nah, Prettier on save.
...why not both? An auto-formatter for personal use, a linter for CI checks on PRs.
I agree : CI is required as a safety belt and then contributers can choose the workflow they prefer : format on save, manual invoke, precommit, ...
Agreed, just run it all through a formatter and save everyone some time. Those who break the formatter will learn to conform ๐