Skip to content

Commit 201555e

Browse files
committed
fix: correct typo unparseableunparsable
1 parent f60c9a7 commit 201555e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cli/binding/src/check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pub(crate) async fn execute_check(
9696
None => {
9797
// oxfmt handles --no-error-on-unmatched-pattern natively and
9898
// exits 0 when no files match, so we only need to guard
99-
// against the edge case where output is unparseable but the
99+
// against the edge case where output is unparsable but the
100100
// process still succeeded.
101101
if !(suppress_unmatched && status == ExitStatus::SUCCESS) {
102102
print_error_block(

rfcs/check-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ When file paths are provided:
7676

7777
- Paths are appended to both `fmt` and `lint` sub-commands
7878
- In `--fix` mode, `--no-error-on-unmatched-pattern` is implicitly enabled for both `fmt` and `lint`, preventing errors when all provided paths are excluded by ignorePatterns. This is the common lint-staged use case where staged files may not match tool-specific patterns.
79-
- Without `--fix`, unmatched patterns are reported as errors unless `--no-error-on-unmatched-pattern` is explicitly passed. Note that oxfmt supports this flag natively, while oxlint does not — `vp check` handles the lint side by treating unparseable lint output as a pass when the flag is active.
79+
- Without `--fix`, unmatched patterns are reported as errors unless `--no-error-on-unmatched-pattern` is explicitly passed. Note that oxfmt supports this flag natively, while oxlint does not — `vp check` handles the lint side by treating unparsable lint output as a pass when the flag is active.
8080

8181
This enables lint-staged integration:
8282

0 commit comments

Comments
 (0)