|
|
|
|
|
by nitnelave
134 days ago
|
|
Client-side pre-commit hooks are there to help you in the same way that type checking (or a powerful compiler) is there to help you avoid bugs. In particular with git, you can skip the hooks when committing. Now, if the server enforces checks on push, that's a project policy that should be respected. |
|
Pre-commit checks should be opt-in with CI as the gate. It's useful to be able to commit code in a failing state.