opencode icon indicating copy to clipboard operation
opencode copied to clipboard

lsp: add oxlint server

Open Eric162 opened this issue 1 month ago • 6 comments

Summary

  • Add built-in oxlint LSP server (runs oxlint --lsp) to publish diagnostics for JS/TS and related file types.
  • Document the new oxlint built-in LSP server.

Closes #5569.

Eric162 avatar Dec 15 '25 17:12 Eric162

/review

rekram1-node avatar Dec 15 '25 20:12 rekram1-node

lgtm

github-actions[bot] avatar Dec 15 '25 20:12 github-actions[bot]

/review

Eric162 avatar Dec 15 '25 21:12 Eric162

@rekram1-node updated the code a bit - was using --lsp which was old oxlint syntax. updated to use oxc_language_server bin instead, and tested that was working correctly in a local build.

let me know if i can provide anything else!

Eric162 avatar Dec 15 '25 21:12 Eric162

i merged a pr that put the lsps in alphabetical order looks like it created merge conflict

rekram1-node avatar Dec 17 '25 16:12 rekram1-node

@rekram1-node no problem - just merged in main

Eric162 avatar Dec 17 '25 23:12 Eric162