arrow_backRetour aux issues
bre4d777/twelve
#8
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Add git hooks with husky and lint-staged
ecoDébutant
good first issue
descriptionDescription
## Description
Implement git hooks using `husky` and `lint-staged` to enforce code quality standards before commits. This prevents unformatted or linted code from entering the repository.
## Goals
- Automatically run `pnpm fix` on staged files before commit
- Prevent commits if linting fails
- Provide fast feedback to developers locally
- Reduce CI/CD burden by catching issues early
## Implementation Details
- Install `husky` and `lint-staged`
- Create `.husky/pre-commit` hook
- Configure `lint-staged` in `package.json` to run oxlint/oxfmt checks on TypeScript files
- Update `package.json` scripts: `npm run prepare` for husky setup
- Document setup in `CONTRIBUTING.md`
## Acceptance Criteria
- [ ] Husky installed and initialized
- [ ] Pre-commit hook runs lint and format checks
- [ ] Lint-staged configured for `.ts` files
- [ ] Hook prevents commit if checks fail
- [ ] Setup documented for new contributors
Issues similaires
lingdojo/kana-dojo
star3.2k
Poids du dépôt lourd
[Good First Issue] 🐡 Add new Japan Fact 251 - Beginner-Friendly Open-source Contribution
## 🟢 Good First Issue: Add Japan Fact #251 — Beginner-Friendly Open Source Contribution ![Time: <1 minute](https://img…
TypeScript
enhancement
help wanted
WasiqB/multiple-cucumber-html-reporter
star281
Poids du dépôt moyen
Error bucketing
It would be great to bucket the errors in different types i.e. Code exception, configuration exception, environmental e…
TypeScript
enhancement
help wanted
StellarLock/StellarLock
star0
Poids du dépôt léger
LP lock links omit the /token|lp/ URL segment, causing wrong-type lookups on the detail page
## Summary Lock detail links should include the lock's kind in the URL, e.g. `/app/lock/lp/:id` or `/app/lock/token/:i…
TypeScript
bug
good first issue