Commit f82011b
committed
fix(oxlint/lsp): disable JS plugins support in LSP except in tests (#18727)
#17809 and #17840 add support for JS plugins to LSP. However:
* We don't have much test coverage yet.
* The support for workspaces imposes a perf cost on Oxlint CLI (frequent hash map lookups on JS side).
* I believe there's a bug in JS-side code - #17809 (comment).
I think it'd be easier to merge this stack and then iterate on it in further PRs to fix the above.
To prevent any breakage for users in the meantime, this PR disables JS plugin support in LSP unless the `testing` Cargo feature is enabled - i.e. it's only enabled in tests for now.1 parent 7a5c268 commit f82011b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
| |||
0 commit comments