Skip to content

Commit

Permalink
chore: husky -> simple-git-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec-ant committed Jan 24, 2024
1 parent 66b817b commit 2ad0a00
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

3 changes: 3 additions & 0 deletions .simple-git-hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"pre-commit": "npx lint-staged"
}
27 changes: 11 additions & 16 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"access": "public"
},
"scripts": {
"prepare": "patch-package && husky install",
"prepare": "patch-package",
"update-hooks": "simple-git-hooks",
"bump": "bumpp",
"dev": "vite",
"lint": "biome lint .",
Expand Down Expand Up @@ -83,7 +84,6 @@
"chevrotain": "7.1.1",
"esbuild": "^0.19.11",
"fast-glob": "^3.3.2",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"npm-check-updates": "^16.14.12",
"patch-package": "^8.0.0",
Expand All @@ -102,6 +102,7 @@
"prettier-plugin-sql": "^0.18.0",
"prettier-plugin-sql-cst": "^0.10.2",
"prettier-plugin-toml": "^2.0.1",
"simple-git-hooks": "^2.9.0",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vite": "^5.0.12",
Expand Down

0 comments on commit 2ad0a00

Please sign in to comment.