We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20c9d7f commit a5fa69eCopy full SHA for a5fa69e
lefthook.yml
@@ -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
10
-# glob: "*.{js,ts, jsx, tsx}"
11
-# run: npx tsc --noEmit
12
-# commit-msg:
13
14
15
-# commitlint:
16
-# run: npx commitlint --edit
+pre-commit:
+ parallel: true
+ commands:
+ lint:
+ files: git diff --name-only @{push}
+ glob: '*.{js,ts,jsx,tsx}'
+ run: npx eslint {files}
+ types:
+ glob: '*.{js,ts, jsx, tsx}'
+ run: npx tsc --noEmit
+commit-msg:
+ commitlint:
+ run: npx commitlint --edit
0 commit comments