-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
Description
Describe the enhancement you want to request
OpenCode already integrates with LSP servers to surface diagnostics. It would be great to add built-in support for Oxlint’s LSP mode (oxlint --lsp) so JS/TS projects can get fast lint diagnostics.
Why
- Oxlint is extremely fast and widely used for JS/TS linting.
oxlint --lspcan publish diagnostics directly over stdio.
Proposed behavior
- Add a built-in
oxlintLSP server entry with the JS/TS + framework extensions it supports (e.g..js,.ts,.tsx,.vue,.astro,.svelte). - Only enable it when
oxlintis already installed (no auto-download). - Keep existing LSP server selection configurable via
lspconfig (users decide which servers to enable/disable).
Notes
- This is separate from ESLint: both can coexist; users can disable either via config.