Skip to content

Commit 59d843a

Browse files
authored
Merge pull request #613 from Iterable/2.0.0-alpha/MOB-9680-new-fix-lefthook
[MOB-9680] Fix lefthook
2 parents 6d8492f + 3ea4ea6 commit 59d843a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

lefthook.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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
10-
# commit-msg:
11-
# parallel: true
12-
# commands:
13-
# commitlint:
14-
# run: npx commitlint --edit
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
10+
commit-msg:
11+
parallel: true
12+
commands:
13+
commitlint:
14+
run: npx commitlint --edit

0 commit comments

Comments
 (0)