Turn on oxlint with type-aware option
Zoom zoom
This commit is contained in:
16
lua/plugins/linting.lua
Normal file
16
lua/plugins/linting.lua
Normal 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" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user