Skip to content

Commit f9befdb

Browse files
refactor: resolve lint error
1 parent 247c2a9 commit f9befdb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lefthook.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# pre-commit:
2-
# parallel: true
3-
# commands:
4-
# lint:
5-
# glob: "*.{js,ts,jsx,tsx}"
6-
# run: npx eslint {staged_files}
7-
# types:
8-
# glob: "*.{js,ts, jsx, tsx}"
9-
# run: npx tsc
1+
pre-commit:
2+
parallel: true
3+
commands:
4+
lint:
5+
glob: "*.{js,ts,jsx,tsx}"
6+
run: npx eslint {staged_files}
7+
types:
8+
glob: "*.{js,ts, jsx, tsx}"
9+
run: npx tsc
1010
commit-msg:
1111
parallel: true
1212
commands:

0 commit comments

Comments
 (0)