Skip to content

Commit

Permalink
chore: migrate to husky 5 api
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Freisler committed Mar 13, 2021
1 parent 9c64fb7 commit 695968d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
@@ -0,0 +1 @@
yarn commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
@@ -0,0 +1 @@
yarn lint
3 changes: 2 additions & 1 deletion lerna.json
Expand Up @@ -24,7 +24,8 @@
"lerna.json",
"stylelint.json",
"**/package.json",
"./.github/**"
"./.github/**",
"./.husky/**"
]
}
}
Expand Down
6 changes: 0 additions & 6 deletions package.json
Expand Up @@ -103,11 +103,5 @@
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}

0 comments on commit 695968d

Please sign in to comment.