Skip to content

feat: oxc-language-server#3586

Merged
justinmk merged 1 commit intoneovim:masterfrom
marekvospel:oxlint
Jan 27, 2025
Merged

feat: oxc-language-server#3586
justinmk merged 1 commit intoneovim:masterfrom
marekvospel:oxlint

Conversation

@marekvospel
Copy link
Contributor

This pull request adds the minimal working config for oxlint github.
The configuration is highly inspired by the biome config. The oxc_language_server binary is part of the oxlint package (It has 2 binaries, oxlint and oxlint_language_server).

Sadly I was unable to generate the config.md and config.txt docs files. After executing the command in CONTRIBUTING.md, I got no error and the file was unchanged...

Related to #3062

@marekvospel marekvospel requested a review from glepnir as a code owner January 25, 2025 11:04
@marekvospel
Copy link
Contributor Author

marekvospel commented Jan 25, 2025

It should be possible to implement commands like --fix, --fix-suggestions (possibly --fix-dangerously with !) oxc docs, however at this moment I wanted to push out a configuration, as it seems to have been wanted for a while - see related issue.

I'll try to make another PR in the future implementing these commands.

@justinmk justinmk merged commit 8981192 into neovim:master Jan 27, 2025
11 checks passed
@marekvospel marekvospel deleted the oxlint branch February 6, 2025 14:40
@lsaint
Copy link

lsaint commented Apr 8, 2025

require("lspconfig").oxlint.setup({})

oxc_language_server was not started up with this confg.

both oxlint and oxc_language_server are in Mason bin dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants