nvim/lua/plugins/nvim-lint.lua

15 lines
322 B
Lua
Raw Normal View History

return {
"mfussenegger/nvim-lint",
config = function()
require("lint").linters_by_ft = {
markdown = { "markdownlint" },
lua = { "luacheck" },
py = { "pylint", "pydocstyle", "pycodestyle", "mypy" },
sh = { "shellcheck" },
json = { "jsonlint" },
yaml = { "yamllint" },
vim = { "vint" },
}
end,
}