chore: initial commit
This commit is contained in:
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/env bash
|
||||
|
||||
pnpm exec commitlint --edit $1
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/env bash
|
||||
|
||||
pnpm lint-staged
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/env bash
|
||||
|
||||
if [ "$2" = "commit" ]; then
|
||||
echo "Skipping prepare-commit-msg hook due to amend."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -n "$GIT_SEQUENCE_EDITOR" ]; then
|
||||
echo "Skipping prepare-commit-msg hook due to rebase."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exec < /dev/tty && pnpm exec cz --hook || true
|
||||
Reference in New Issue
Block a user