Skip to content

Conversation

@camc314
Copy link
Contributor

@camc314 camc314 commented Sep 23, 2025

This commit renames LintRunner to CliRunner . This change is being made in preparation for introducing a new LintRunner component in the future.

In future, LintRunner​ (living in oxc_linter​) will handle the tsgolint/oxlint coordination (and state storage between the two phases)

@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Sep 23, 2025
Copy link
Contributor Author

camc314 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.

@camc314 camc314 self-assigned this Sep 23, 2025
@camc314 camc314 marked this pull request as ready for review September 23, 2025 15:09
Copilot AI review requested due to automatic review settings September 23, 2025 15:09
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

This PR renames the LintRunner struct to CliRunner throughout the codebase to better reflect its role as a general CLI runner rather than being specifically tied to linting functionality.

  • Renamed the main struct from LintRunner to CliRunner
  • Updated all references and imports across multiple files
  • Enhanced linter configuration with conditional unused directive reporting

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
apps/oxlint/src/tester.rs Updated imports and instantiation calls to use CliRunner
apps/oxlint/src/run.rs Updated import and usage of the renamed struct
apps/oxlint/src/lint.rs Renamed struct definition, implementations, and test references; added conditional linter configuration
apps/oxlint/src/lib.rs Updated public re-export to use new CliRunner name

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

@camc314 camc314 force-pushed the c/09-23-refactor_linter_rename_lintrunner_to_clirunner_ branch from d17e224 to 06b61a6 Compare September 23, 2025 15:12
@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label Sep 24, 2025
Copy link
Contributor Author

camc314 commented Sep 24, 2025

Merge activity

This commit renames `LintRunner` to `CliRunner` . This change is being made in preparation for introducing a new `LintRunner` component in the future.

In future, `LintRunner`​ (living in `oxc_linter`​) will handle the tsgolint/oxlint coordination (and state storage between the two phases)
@graphite-app graphite-app bot force-pushed the c/09-23-refactor_linter_rename_lintrunner_to_clirunner_ branch from 06b61a6 to 3a706a7 Compare September 24, 2025 12:00
@graphite-app graphite-app bot merged commit 3a706a7 into main Sep 24, 2025
17 checks passed
@graphite-app graphite-app bot deleted the c/09-23-refactor_linter_rename_lintrunner_to_clirunner_ branch September 24, 2025 12:04
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Sep 24, 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-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants