refactor(oxlint/lsp): pass ExternalLinter/-Store to nested config search#17808
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
1522106 to
abc83bc
Compare
There was a problem hiding this comment.
Pull request overview
This PR refactors the LSP server linter to pass ExternalLinter and ExternalPluginStore to the nested config search function, aligning it with CLI behavior. Since --lsp uses None for external_linter, this is a pure refactoring with no behavioral changes.
Key changes:
- Moved
ExternalPluginStoreinitialization earlier in the flow to enable passing it to nested config creation - Changed
create_nested_configs()from a static method to an instance method to accessself.external_linter - Updated nested config creation to use the shared
ExternalPluginStoreinstead of creating local instances
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
…earch (#17808) Because `--lsp` is using `None` for `external_linter`, this is just a refactoring, aligning the future behavior with CLI.
abc83bc to
36b82ec
Compare

Because
--lspis usingNoneforexternal_linter, this is just a refactoring, aligning the future behavior with CLI.