refactor(linter): move around some config store logic#10861
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. |
CodSpeed Instrumentation Performance ReportMerging #10861 will not alter performanceComparing Summary
|
5ec242f to
adb9b1f
Compare
e483940 to
7591333
Compare
|
@Sysix does this approach make sense to you and do you see any concerns around it regarding the language server? The main point here, is there'x 1x Eventually, this will be built via |
|
@camc314 after #10775 only the Optimizing the logic for the language server is preferred, but I choose against it for the moment.
This is a bigger problem. Because the watchers are currently on the client side. The client should not know the architecture of the linter |
7591333 to
f9c2ed2
Compare
this sounds expensive to me, but I don't fully understand how the language server works.
Got it. Do you know how other lsps implement this? |
f1e71af to
e832938
Compare
It is, but this should only be noticeable when changing configuration / oxlintrc.json.
I know the most LSP will create Server File Watchers. Maybe some can tell the client to watch for files with
|
e832938 to
e52b015
Compare
Merge activity
|
this PR moves all of the config resolution for a single file into the `ConfigStore` structure, rather than half existing in `oxc_linter` and half in `oxlint` crates
e52b015 to
79819cc
Compare

this PR moves all of the config resolution for a single file into the
ConfigStorestructure, rather than half existing inoxc_linterand half inoxlintcrates