Use the LazyVim oxc extra instead of hand-rolled oxlint config

The oxlint LSP now enables type-aware linting on its own when tsgolint is
present and .oxlintrc.json mentions typescript, and ships :LspOxlintFixAll --
which is what the oxlint_fix function reimplemented by shelling out to the CLI.
The extra also sets fixKind = "all" and prefers the top-level oxlint config in
monorepos. Fixes now apply as a workspace edit instead of writing to disk and
reloading.

oxfmt takes js/ts/json/vue over prettier; prettier keeps css/html/yaml/markdown.
Add oxlint to mason so it resolves outside projects with a local install.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 13:18:30 -04:00
co-authored by Claude Opus 5
parent 76cdb9d1f6
commit 995ecb11d3
5 changed files with 54 additions and 88 deletions
+1
View File
@@ -29,6 +29,7 @@
"lazyvim.plugins.extras.lang.tex",
"lazyvim.plugins.extras.lang.toml",
"lazyvim.plugins.extras.lang.typescript",
"lazyvim.plugins.extras.lang.typescript.oxc",
"lazyvim.plugins.extras.lang.typescript.tsgo",
"lazyvim.plugins.extras.lang.typst",
"lazyvim.plugins.extras.lang.yaml",