Skip to content

Comments

refactor(oxlint/lsp): pass ExternalLinter/-Store to nested config search#17808

Merged
graphite-app[bot] merged 1 commit intomainfrom
01-08-refactor_oxlint_lsp_pass_externallinter_-store_to_nested_config_search
Jan 8, 2026
Merged

refactor(oxlint/lsp): pass ExternalLinter/-Store to nested config search#17808
graphite-app[bot] merged 1 commit intomainfrom
01-08-refactor_oxlint_lsp_pass_externallinter_-store_to_nested_config_search

Conversation

@Sysix
Copy link
Member

@Sysix Sysix commented Jan 8, 2026

Because --lsp is using None for external_linter, this is just a refactoring, aligning the future behavior with CLI.

@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 Jan 8, 2026
Copy link
Member Author

Sysix commented Jan 8, 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.

@Sysix Sysix force-pushed the 01-08-refactor_oxlint_lsp_pass_externallinter_-store_to_nested_config_search branch from 1522106 to abc83bc Compare January 8, 2026 21:52
@Sysix Sysix marked this pull request as ready for review January 8, 2026 22:02
@Sysix Sysix requested a review from camc314 as a code owner January 8, 2026 22:02
Copilot AI review requested due to automatic review settings January 8, 2026 22:02
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 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 ExternalPluginStore initialization 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 access self.external_linter
  • Updated nested config creation to use the shared ExternalPluginStore instead of creating local instances

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Sysix Sysix added the 0-merge Merge with Graphite Merge Queue label Jan 8, 2026
Copy link
Member Author

Sysix commented Jan 8, 2026

Merge activity

…earch (#17808)

Because `--lsp` is using `None` for `external_linter`, this is just a refactoring, aligning the future behavior with CLI.
@graphite-app graphite-app bot force-pushed the 01-08-refactor_oxlint_lsp_pass_externallinter_-store_to_nested_config_search branch from abc83bc to 36b82ec Compare January 8, 2026 22:30
@graphite-app graphite-app bot merged commit 36b82ec into main Jan 8, 2026
19 checks passed
@graphite-app graphite-app bot deleted the 01-08-refactor_oxlint_lsp_pass_externallinter_-store_to_nested_config_search branch January 8, 2026 22:36
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jan 8, 2026
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