Skip to content

Commit a532918

Browse files
authored
Merge pull request #41 from anufdo/add-husky
add husky
2 parents 50e142d + 653799d commit a532918

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm test

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"tsc": "tsc -p . --pretty --skipLibCheck --noEmit",
1515
"bootstrap": "git pull origin main && yarn install",
1616
"lint": "eslint --fix ./src/**/*.ts",
17-
"format": "yarn prettier -w ./src/** --loglevel silent"
17+
"format": "yarn prettier -w ./src/** --loglevel silent",
18+
"prepare": "husky"
1819
},
1920
"husky": {
2021
"hooks": {

0 commit comments

Comments
 (0)