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.
2 parents f8bcf30 + 2885df5 commit 8ab1ea9Copy full SHA for 8ab1ea9
1 file changed
lefthook.yml
@@ -1,6 +1,9 @@
1
pre-commit:
2
commands:
3
oxfmt:
4
- glob: '*.{js,mjs,cjs,ts,tsx,mts,cts}'
+ glob:
5
+ - '*.{j,mj,cj}s'
6
+ - '*.{ts,tsx,mts,cts}'
7
+ - '*.{yml,yaml}'
8
run: npx oxfmt --write {staged_files}
9
stage_fixed: true
0 commit comments