dotfiles/dot_config/nvim/lua/plugins/nvim-lint.lua
2024-04-14 18:41:15 -07:00

21 lines
418 B
Lua

return {
{
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
gitcommit = { "commitlint" },
sql = { "sqlfluff" },
yaml = { "yamllint" },
bash = { "shellcheck" },
sh = { "shellcheck" },
},
linters = {
commitlint = {
args = {
"--config ~/.config/git/commitlint.config.js",
},
},
},
},
},
}