Skip to content

Commit

Permalink
dev: fix husky's configs and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Nov 25, 2024
1 parent ea6338a commit 5b4a65a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

if [ "$CI" = "true" ]
then
# disable commitlint for CI environments
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"semantic-release": "^24.2.0"
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"commit": "git-cz",
"lint": "eslint",
"lint:fix": "yarn lint --fix"
Expand Down

0 comments on commit 5b4a65a

Please sign in to comment.