Update .config/nvim/lua/plugins/nvim-lint.lua

This commit is contained in:
punkfairie 2024-04-22 19:44:48 -07:00
parent d442f37460
commit dab0380cc9
No known key found for this signature in database
GPG key ID: 284B78B49C058673

View file

@ -3,19 +3,11 @@ 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",
},
},
},
},
},
}