We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b78b604 commit fc64c5cCopy full SHA for fc64c5c
lefthook.yml
@@ -3,12 +3,12 @@ pre-commit:
3
commands:
4
lint:
5
glob: "*.{js,ts,jsx,tsx}"
6
- run: npx eslint {staged_files}
+ run: yarn eslint {staged_files}
7
types:
8
glob: "*.{js,ts, jsx, tsx}"
9
- run: npx tsc
+ run: yarn tsc
10
commit-msg:
11
parallel: true
12
13
commitlint:
14
- run: npx commitlint --edit
+ run: yarn commitlint --edit
0 commit comments