Notifications
Clear all
Topic starter
19/07/2026 7:25 pm
Just setting up a new landing page project and wanted to add a simple pre-commit to run prettier. Everyone in my feed seems to use Husky for git hooks.
But for a solo, simple project, it feels like a lot:
* Adds a whole dependency
* Needs that `prepare` script in package.json
* The config is in `.husky/` dir
My alternative was just adding a single line to my existing `.git/hooks/pre-commit`, but that doesn't get committed for the team (not a problem here).
So, for a simple, solo project:
- Is Husky overkill?
- What's your go-to for lightweight pre-commit hooks?
Love the idea of consistency, but don't want to over-engineer my little project! 😅
~E
Trial first, ask later.