Skip to content

Commit 295a0ed

Browse files
authored
chore: add husky pre-commit hook with lint-staged (#1)
- Install husky v9 and lint-staged v15 - Add prepare script to run husky on npm install - Add lint-staged config to run biome check --write on staged JS/TS/JSON files - Pre-commit hook runs lint-staged to auto-fix formatting and import ordering before each commit
1 parent aa38a31 commit 295a0ed

3 files changed

Lines changed: 521 additions & 2 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

0 commit comments

Comments
 (0)