Skip to content

test(oxlint): move non lsp fixtures to fixtures/cli#20044

Merged
graphite-app[bot] merged 1 commit intomainfrom
03-05-test_oxlint_move_non_lsp_fixtures_to_fixtures_cli_
Mar 6, 2026
Merged

test(oxlint): move non lsp fixtures to fixtures/cli#20044
graphite-app[bot] merged 1 commit intomainfrom
03-05-test_oxlint_move_non_lsp_fixtures_to_fixtures_cli_

Conversation

@Sysix
Copy link
Member

@Sysix Sysix commented Mar 5, 2026

Now there are only two folders in apps/oxlint/fixtures.
We can later create another directory for both integrations (like config walker).

Copy link
Member Author

Sysix commented Mar 5, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI A-linter-plugins Area - Linter JS plugins C-test Category - Testing. Code is missing test cases, or a PR is adding them labels Mar 5, 2026
@Sysix Sysix force-pushed the 03-05-test_oxlint_move_non_lsp_fixtures_to_fixtures_cli_ branch 3 times, most recently from cba92bb to 2810cfb Compare March 5, 2026 21:57
@Sysix Sysix requested a review from Copilot March 5, 2026 21:58
@Sysix Sysix removed the A-linter-plugins Area - Linter JS plugins label Mar 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Moves non-LSP oxlint fixtures into fixtures/cli and updates tests/snapshots to reference the new paths.

Changes:

  • Updated CLI snapshot expectations to use fixtures/cli/... paths.
  • Updated CLI-related Rust tests to run in / reference fixtures/cli/....
  • Updated config loader tests to point at the moved fixtures.

Reviewed changes

Copilot reviewed 15 out of 436 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
apps/oxlint/src/snapshots/_-W no-undef -c fixtures__cli__no_undef__eslintrc.json fixtures__cli__no_undef__test.js@oxlint.snap Snapshot updated to reference fixtures/cli/no_undef/...
apps/oxlint/src/snapshots/_-W no-undef -c fixtures__cli__eslintrc_env__eslintrc_no_env.json fixtures__cli__eslintrc_env__test.js@oxlint.snap Snapshot updated to reference fixtures/cli/eslintrc_env/...
apps/oxlint/src/snapshots/_-W correctness -A no-debugger fixtures__cli__linter__debugger.js@oxlint.snap Snapshot updated to reference fixtures/cli/linter/...
apps/oxlint/src/snapshots/_-D correctness fixtures__cli__linter__debugger.js@oxlint.snap Snapshot updated to reference fixtures/cli/linter/...
apps/oxlint/src/snapshots/_-A all fixtures__cli__linter@oxlint.snap Snapshot updated to reference fixtures/cli/linter
apps/oxlint/src/snapshots/_--vitest-plugin -c fixtures__cli__eslintrc_vitest_replace__eslintrc.json fixtures__cli__eslintrc_vitest_replace__foo.test.js@oxlint.snap Snapshot updated to reference fixtures/cli/eslintrc_vitest_replace/...
apps/oxlint/src/snapshots/_--import-plugin fixtures__cli__flow__index.mjs@oxlint.snap Snapshot updated to reference fixtures/cli/flow/...
apps/oxlint/src/snapshots/_--import-plugin -A all -D no-cycle fixtures__cli__flow__@oxlint.snap Snapshot updated to reference fixtures/cli/flow/...
apps/oxlint/src/snapshots/_--ignore-pattern _____.js --ignore-pattern _____.vue fixtures__cli__linter@oxlint.snap Snapshot updated to reference fixtures/cli/linter
apps/oxlint/src/snapshots/_--ignore-path fixtures__cli__linter__.customignore fixtures__cli__linter__nan.js@oxlint.snap Snapshot updated to reference fixtures/cli/linter/...
apps/oxlint/src/snapshots/_--ignore-path fixtures__cli__linter__.customignore --no-ignore fixtures__cli__linter__nan.js@oxlint.snap Snapshot updated to reference fixtures/cli/linter/...
apps/oxlint/src/snapshots/_--ignore-path fixtures__cli__issue_7566__.oxlintignore fixtures__cli__issue_7566__tests__main.js fixtures__cli__issue_7566__tests__function__main.js@oxlint.snap Snapshot updated to reference fixtures/cli/issue_7566/...
apps/oxlint/src/output_formatter/mod.rs Test cwd updated to fixtures/cli/output_formatter_diagnostic
apps/oxlint/src/lint.rs CLI tests updated to run against fixtures/cli/...
apps/oxlint/src/config_loader.rs Config loader tests updated to use fixtures/cli/... fixtures

@Sysix Sysix marked this pull request as ready for review March 5, 2026 22:08
@Sysix Sysix requested a review from camc314 as a code owner March 5, 2026 22:08
@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label Mar 6, 2026
Copy link
Contributor

camc314 commented Mar 6, 2026

Merge activity

Now there are only two folders in `apps/oxlint/fixtures`.
We can later create another directory for both integrations (like config walker).
@graphite-app graphite-app bot force-pushed the 03-05-test_oxlint_move_non_lsp_fixtures_to_fixtures_cli_ branch from 2810cfb to 065a358 Compare March 6, 2026 12:12
@graphite-app graphite-app bot merged commit 065a358 into main Mar 6, 2026
19 checks passed
@graphite-app graphite-app bot deleted the 03-05-test_oxlint_move_non_lsp_fixtures_to_fixtures_cli_ branch March 6, 2026 12:19
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 6, 2026
@Sysix
Copy link
Member Author

Sysix commented Mar 6, 2026

I think this broke windows CI, this fix should work: https://stackoverflow.com/a/22575737/7387397

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter C-test Category - Testing. Code is missing test cases, or a PR is adding them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants