Replace Husky with Lefthook
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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from celo-org/developer-tooling
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
celo-org/developer-tooling#793 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
celo-org/developer-tooling#786 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
celo-org/developer-tooling#800 · 1 comment ·
-
Bridge commands duplicate signer construction and miss new signer typesPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 68/100
celo-org/developer-tooling#794 ·
-
bug celocli
Difficulty 4/5 3-5 days Newbie friendliness 50/100
celo-org/developer-tooling#790 ·
All issues in celo-org/developer-tooling
Similar issues
-
ready-for-ai
Difficulty 1/5 Under an hour Newbie friendliness 88/100
umbraco/Umbraco-CMS-MCP-Dev#647 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
HelloAOLab/seed-bible#2173 ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
hocinehacherouf/liberarr#77 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
LibreChat-AI/LibreChat#18225 ·
Maintainers usually reply within 1 day
-
b-ber/build/epub b-ber/themes
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
triplecanopy/b-ber#790 ·
Maintainers usually reply within 1 day