Replace Husky with Lefthook

Open
#691 2 comments 0 reactions 0 assignees View on GitHub

@shottah is already working on this.

Since May 18, 2026.

  • #776 by @shottah — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
tooling

Research direction

Read Biome's Git hooks recipe linked in the issue, then locate the existing Husky pre-commit configuration and lint command. Replace the hook setup with Lefthook so linted files are added back to the staging area and a single commit is sufficient; verify the hook behaves as described.

Written by the indexing model from the issue text.

Description

we use husky for pre commit hook linting, but when it lints it doesnt then add the files back to stage to we end up needing 2 commits, which sucks.

biome recommends usng left hook https://biomejs.dev/recipes/git-hooks/

lets try this out

Dominant language
TypeScript
Stars
43
Forks
36
Avg merge
1h 35m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from celo-org/developer-tooling

All issues in celo-org/developer-tooling

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.