Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: voidzero-dev/vite-plus
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.17
Choose a base ref
...
head repository: voidzero-dev/vite-plus
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.18
Choose a head ref
  • 1 commit
  • 19 files changed
  • 1 contributor

Commits on Apr 15, 2026

  1. feat(check): support --no-error-on-unmatched-pattern for fmt and li…

    …nt (#1354)
    
    ## Summary
    
    - In `--fix` mode with file paths, implicitly pass
    `--no-error-on-unmatched-pattern` to both oxfmt and oxlint, preventing
    errors when all staged files are excluded by ignorePatterns (the
    lint-staged use case).
    - Expose `--no-error-on-unmatched-pattern` as an explicit CLI flag for
    non-fix use cases. Both oxfmt and oxlint support this flag natively.
    - Add snap tests covering: unmatched patterns pass in fix mode,
    non-lintable files (package.json) pass in fix mode, real lint errors are
    not swallowed, and `vp lint package.json` exits non-zero.
    
    Closes #1210
    
    ## Test plan
    
    - [x] `pnpm -F vite-plus snap-test-local check-fix-no-error-unmatched` —
    verifies implicit/explicit flag behavior
    - [x] `pnpm -F vite-plus snap-test-local
    check-fix-lint-error-not-swallowed` — verifies real lint errors surface
    - [x] `pnpm -F vite-plus snap-test-local lint-unmatched-pattern` —
    verifies `vp lint package.json` exits non-zero
    - [x] `pnpm -F vite-plus snap-test-local check` — all 25 check snap
    tests pass
    - [x] `pnpm -F vite-plus snap-test-global command-check-help` — help
    output includes new flag
    fengmk2 authored Apr 15, 2026
    Configuration menu
    Copy the full SHA
    6e06c17 View commit details
    Browse the repository at this point in the history
Loading