Skip to content

Commit c9e2658

Browse files
authored
add oxlint/oxfmt checks to jsx/tsx files too (#662)
1 parent 82c63da commit c9e2658

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.lintstagedrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"*.tsx": ["oxfmt", "oxlint --fix --type-aware --max-warnings 0"],
3+
"*.jsx": ["oxlint --fix --type-aware --max-warnings 0"],
24
"*.ts": ["oxfmt", "oxlint --fix --type-aware --max-warnings 0"],
35
"*.js": ["oxlint --fix --type-aware --max-warnings 0"],
46
"*.json": ["oxfmt"]

0 commit comments

Comments
 (0)