Skip to content

Commit

Permalink
chore: husky -> lefthook
Browse files Browse the repository at this point in the history
  • Loading branch information
niuiic committed Aug 10, 2023
1 parent e8654ad commit aa52889
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 14 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

6 changes: 6 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pre-commit:
parallel: true
commands:
eslint:
glob: '*.ts'
run: pnpm lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"eslint": "^8.46.0",
"husky": "^8.0.3",
"jest": "^29.6.2",
"lefthook": "^1.4.8",
"prettier": "^3.0.1",
"prettier-plugin-organize-imports": "^3.2.3",
"release-it": "^16.1.3",
Expand Down
91 changes: 82 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa52889

Please sign in to comment.