3 ms·
Code formatting is really important. Things got marginally better once we agreed on the AirBnB coding standards at my old company. It allowed us to focus on mor
by nicbou 6y ago
Code formatting is really important. Things got marginally better once we agreed on the AirBnB coding standards at my old company. It allowed us to focus on more important things during reviews.
In other teams, I also implemented similar filters for commit messages, enforcing ticket numbers in messages (or tags like "hotfix").
I learned the latter from refactoring a lot of code with seemingly unexplained business logic. At least now I could trace it to a business requirement. It also made reviews easier.
All of these can be added to git hooks.