Files
neovim-config/lua/plugins/linting.lua
Tyler Hallada 397ec2a484 Globally turn off MD013 lint
Might turn off markdownlint completely but this is the most annoying
rule.
2026-02-17 22:23:00 -05:00

23 lines
483 B
Lua

return {
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
javascript = { "oxlint" },
typescript = { "oxlint" },
javascriptreact = { "oxlint" },
typescriptreact = { "oxlint" },
},
linters = {
oxlint = {
prepend_args = { "--type-aware" },
},
["markdownlint-cli2"] = {
prepend_args = {
"--config",
vim.fn.stdpath("config") .. "/.markdownlint-cli2.yaml",
},
},
},
},
}