mirror of
https://github.com/iv-org/close-potential-duplicates.git
synced 2024-11-22 21:39:40 +00:00
chore: 🛠️ git hooks
This commit is contained in:
parent
ce7da9bd04
commit
e36d3331b9
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
_
|
5
.husky/commit-msg
Executable file
5
.husky/commit-msg
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
. "$(dirname "$0")/common.sh"
|
||||
|
||||
yarn commitlint --edit "$1"
|
1
.husky/common.sh
Normal file
1
.husky/common.sh
Normal file
@ -0,0 +1 @@
|
||||
echo
|
5
.husky/pre-commit
Executable file
5
.husky/pre-commit
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
. "$(dirname "$0")/common.sh"
|
||||
|
||||
yarn lint-staged
|
5
.husky/prepare-commit-msg
Executable file
5
.husky/prepare-commit-msg
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
. "$(dirname "$0")/common.sh"
|
||||
|
||||
yarn devmoji -e --lint
|
Loading…
Reference in New Issue
Block a user