Skip to content

Commit 20c9d7f

Browse files
committed
comment hook
1 parent 9196b97 commit 20c9d7f

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

lefthook.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
pre-commit:
2-
parallel: true
3-
commands:
4-
lint:
5-
files: git diff --name-only @{push}
6-
glob: "*.{js,ts,jsx,tsx}"
7-
run: npx eslint {files}
8-
types:
9-
files: git diff --name-only @{push}
10-
glob: "*.{js,ts, jsx, tsx}"
11-
run: npx tsc --noEmit
12-
commit-msg:
13-
parallel: true
14-
commands:
15-
commitlint:
16-
run: npx commitlint --edit
1+
# pre-commit:
2+
# parallel: true
3+
# commands:
4+
# lint:
5+
# files: git diff --name-only @{push}
6+
# glob: "*.{js,ts,jsx,tsx}"
7+
# run: npx eslint {files}
8+
# types:
9+
# files: git diff --name-only @{push}
10+
# glob: "*.{js,ts, jsx, tsx}"
11+
# run: npx tsc --noEmit
12+
# commit-msg:
13+
# parallel: true
14+
# commands:
15+
# commitlint:
16+
# run: npx commitlint --edit

0 commit comments

Comments
 (0)