Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't make oxlint work #595

Closed
dpecos opened this issue Jun 3, 2024 · 1 comment
Closed

Can't make oxlint work #595

dpecos opened this issue Jun 3, 2024 · 1 comment

Comments

@dpecos
Copy link

dpecos commented Jun 3, 2024

I'm using oxlint as explained in their website:

npx oxlint@latest

and I get a bunch of findings.

But I can't make those diagnostics appear in neovim. nvim-lint does show diagnostics for other filetypes.

I've also install oxlint via mason, but nothing changed.

Any tips?

@jasonleelunn
Copy link

I had the same issue and after managing to log out the error from inside nvim-lint, it turns out that mason is installing an old version of oxlint (0.0.20) which doesn’t understand the “--format unix” arg which nvim-lint passes it

the latest oxlint version is 0.5.2, I have submitted a PR (mason-org/mason-registry#6380) to bump the version in the mason registry which will fix this and make oxlint diagnostics appear correctly

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

No branches or pull requests

3 participants