refactor(linter/plugins): move imports to top level#18759
Merged
graphite-app[bot] merged 1 commit intomainfrom Jan 31, 2026
Merged
Conversation
This was referenced Jan 31, 2026
Member
Author
This was referenced Jan 31, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors the import statements in external_linter.rs by moving type imports from inline usage to the top-level import block, making them consistent with the existing code style in the file and across the codebase.
Changes:
- Added
ExternalLinterCreateWorkspaceCbandExternalLinterDestroyWorkspaceCbto the top-leveloxc_linterimport block - Replaced inline qualified paths (
oxc_linter::ExternalLinterCreateWorkspaceCbandoxc_linter::ExternalLinterDestroyWorkspaceCb) with unqualified type names in function signatures
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
29753d5 to
2f20192
Compare
ac826e7 to
7778e54
Compare
7778e54 to
cd7ed7a
Compare
2f20192 to
430606e
Compare
430606e to
d917477
Compare
cd7ed7a to
a4af0c5
Compare
camc314
approved these changes
Jan 31, 2026
Contributor
Merge activity
|
d917477 to
430606e
Compare
a4af0c5 to
9862224
Compare
430606e to
91ae2f0
Compare
Base automatically changed from
om/01-31-perf_linter_plugins_reduce_cost_of_workspaces
to
main
January 31, 2026 16:26
Pure refactor. Just import types at top-level instead if inline. This is consistent with the style of the rest of this file.
91ae2f0 to
6b14dec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pure refactor. Just import types at top-level instead if inline. This is consistent with the style of the rest of this file.