Fix husky config for automatic linting on commit

Change-type: patch
This commit is contained in:
Pagan Gazzard 2023-10-16 16:19:43 +01:00
parent 47ebe39bed
commit 23d5311a51
2 changed files with 4 additions and 5 deletions

4
.husky/pre-commit Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no lint-staged

View File

@ -139,11 +139,6 @@
"winston": "^3.3.3",
"yargs": "^15.4.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"versionist": {
"publishedAt": "2023-10-16T13:50:18.745Z"
}