Skip to content

Commit 8ab1ea9

Browse files
authored
Merge pull request #95264 from Expensify/rory-lefthook-oxfmt-yaml
[No QA] Add YAML to lefthook oxfmt glob
2 parents f8bcf30 + 2885df5 commit 8ab1ea9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lefthook.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
pre-commit:
22
commands:
33
oxfmt:
4-
glob: '*.{js,mjs,cjs,ts,tsx,mts,cts}'
4+
glob:
5+
- '*.{j,mj,cj}s'
6+
- '*.{ts,tsx,mts,cts}'
7+
- '*.{yml,yaml}'
58
run: npx oxfmt --write {staged_files}
69
stage_fixed: true

0 commit comments

Comments
 (0)