Skip to content

[FEATURE]: support oxlint lsp #5569

@Eric162

Description

@Eric162

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 --lsp can publish diagnostics directly over stdio.

Proposed behavior

  • Add a built-in oxlint LSP server entry with the JS/TS + framework extensions it supports (e.g. .js, .ts, .tsx, .vue, .astro, .svelte).
  • Only enable it when oxlint is already installed (no auto-download).
  • Keep existing LSP server selection configurable via lsp config (users decide which servers to enable/disable).

Notes

  • This is separate from ESLint: both can coexist; users can disable either via config.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions