feat!: replace husky/lint-staged with lefthook v2

Migrate from husky + lint-staged to lefthook v2 for git hooks. Migrate
prettier config from CJS to ESM. Remove commitizen/cz-conventional-
changelog (release-please handles conventional commits).
This commit is contained in:
Daniel Sogl
2026-03-21 15:10:47 -07:00
parent 4e6fb01ab0
commit f103f8bdae
2 changed files with 19 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
pre-commit:
parallel: true
jobs:
- name: prettier
run: npx prettier --write --ignore-unknown {staged_files}
stage_fixed: true
pre-push:
jobs:
- name: test
run: npm test