Commit 1f04656
committed
build: tolerate ignored files in nano-staged hooks
`oxfmt`/`oxlint` exit with an error when every staged file is ignored by
the formatter/linter config, which breaks commits that only touch
`test/e2e/fixtures/**`. Pass `--no-error-on-unmatched-pattern` to both so
fixture-only commits no longer fail the pre-commit hook.1 parent 52d27eb commit 1f04656
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments