Turn on oxlint with type-aware option

Zoom zoom
This commit is contained in:
2026-01-15 15:49:00 -05:00
parent 7ba2b915de
commit 1b74923dfa

16
lua/plugins/linting.lua Normal file
View File

@@ -0,0 +1,16 @@
return {
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
javascript = { "oxlint" },
typescript = { "oxlint" },
javascriptreact = { "oxlint" },
typescriptreact = { "oxlint" },
},
linters = {
oxlint = {
prepend_args = { "--type-aware" },
},
},
},
}