refactor: add husky

This commit is contained in:
Mauricio Siu
2024-10-18 00:10:01 -06:00
parent 8536945a60
commit 60497fe59d
5 changed files with 19 additions and 10 deletions

View File

@@ -23,7 +23,7 @@
"format-and-lint": "biome check .",
"check": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true",
"format-and-lint:fix": "biome check . --write",
"prepare": "node ./.config/.husky/install.mjs"
"prepare": "node .husky/install.mjs"
},
"devDependencies": {
"dotenv": "16.4.5",
@@ -31,7 +31,7 @@
"tsx": "4.16.2",
"lint-staged": "^15.2.7",
"@biomejs/biome": "1.8.3",
"husky": "^9.0.11",
"husky": "^9.1.6",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/node": "^18.17.0"