Skip to main content

3. Use lefthook for githooks

Date: 2025-04-17

Status

Accepted

Context

We need an easy way to handle git hooks across different languages,

Decision

Instead of using a language specific tool we chose lefthook https://github.com/evilmartians/lefthook

It is written in Go and is fast.

Consequences

This means we just learn one system and everything can be done explictily independent of language that the app or other tools are written in.