We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4d72bd commit 59b1c87Copy full SHA for 59b1c87
1 file changed
lefthook.yml
@@ -1,14 +1,20 @@
1
pre-commit:
2
commands:
3
lint-staged:
4
- run: /usr/local/bin/npm run lint-staged
+ run: |
5
+ [ -s "$HOME/.nvm/nvm.sh" ] && . "$HOME/.nvm/nvm.sh"
6
+ npm run lint-staged
7
8
pre-push:
9
10
typecheck:
- run: /usr/local/bin/npm run typecheck
11
12
13
+ npm run typecheck
14
15
commit-msg:
16
17
commitlint:
- run: /usr/local/bin/npm run commitlint -- --edit {1}
18
19
20
+ npm run commitlint -- --edit {1}
0 commit comments