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", "mfussenegger/nvim-lint",
opts = { opts = {
linters_by_ft = { linters_by_ft = {
gitcommit = { "commitlint" },
sql = { "sqlfluff" }, sql = { "sqlfluff" },
yaml = { "yamllint" }, yaml = { "yamllint" },
bash = { "shellcheck" }, bash = { "shellcheck" },
sh = { "shellcheck" }, sh = { "shellcheck" },
}, },
linters = {
commitlint = {
args = {
"--config ~/.config/git/commitlint.config.js",
},
},
},
}, },
}, },
} }