Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Sep 23, 2025

Minor refactor of tests. Name the plugin the same in ESLint config as Oxlint config, for easier comparison of the 2.

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI C-test Category - Testing. Code is missing test cases, or a PR is adding them labels Sep 23, 2025
Copy link
Member Author

overlookmotel commented Sep 23, 2025


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.

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

Aligns ESLint plugin naming with Oxlint configuration by changing the plugin name from "testPlugin" to "define-rule-plugin" in test fixtures for better comparison between the two linting tools.

  • Changed plugin name from "testPlugin" to "define-rule-plugin" in ESLint configuration
  • Updated corresponding rule references to use the new plugin name
  • Updated test snapshots to reflect the new plugin naming

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
apps/oxlint/test/fixtures/define/eslint.config.js Updated plugin name and rule references from "testPlugin" to "define-rule-plugin"
apps/oxlint/test/snapshots/eslint-compat.test.ts.snap Updated test snapshots to reflect the new plugin naming in error messages

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@overlookmotel overlookmotel self-assigned this Sep 23, 2025
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Sep 23, 2025
Copy link
Member Author

overlookmotel commented Sep 23, 2025

Merge activity

Minor refactor of tests. Name the plugin the same in ESLint config as Oxlint config, for easier comparison of the 2.
@graphite-app graphite-app bot force-pushed the 09-23-test_linter_plugins_align_eslint_plugin_with_oxlint branch from b5f84df to b109419 Compare September 23, 2025 22:27
@graphite-app graphite-app bot merged commit b109419 into main Sep 23, 2025
17 checks passed
@graphite-app graphite-app bot deleted the 09-23-test_linter_plugins_align_eslint_plugin_with_oxlint branch September 23, 2025 22:32
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Sep 23, 2025
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.

2 participants