A repository can easily be messed up with specific settings in the various ide's.
This gets really messy when reviewing stuff and takes away the precious time we all have.
pre-commit is a framework for managing git hooks. They have all kinds of stuff already available. The things we are interested about are specified in our editorconfig. However if you run an ide which doesn't have editorconfig installed, you run into issues. This is where pre-commit comes in handy as it'lll block your commit until you fixed these things we list.
Use case
Preventing faulty / messy commits which are easy fixable and identifiable by automation tools.
Suggestion
A repository can easily be messed up with specific settings in the various ide's. This gets really messy when reviewing stuff and takes away the precious time we all have.
pre-commit is a framework for managing git hooks. They have all kinds of stuff already available. The things we are interested about are specified in our editorconfig. However if you run an ide which doesn't have editorconfig installed, you run into issues. This is where
pre-commit
comes in handy as it'lll block your commit until you fixed these things we list.Use case
Preventing faulty / messy commits which are easy fixable and identifiable by automation tools.
Extra info/examples/attachments
Todo
note If you have a pre-commit hook you'd want to add please contribute to the above project <3