by el_dev_hell · 5y ago · 0 comments
* Code formatting. A decision is made and everyone follows (by force from the formatter) a single formatting methodology. In JavaScript land, Prettier is great. Python has Black, which is alright. The biggest benefit is making code reviews easier.
* A standing desk raiser. I would prefer a walking desk, but I haven't made time to set it up.
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.