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
I recently enforced coding standards in our c# code bases.
Basically used an editor config and project properties to enable all analysers and set all rules to warnings. Also set warnings as errors for release builds.
I've then been adjusting rules by hand if they're irritating or wrong.
It's having great results and has already caught a load of bugs.
But my god do the juniors hate it haha