feat: Add linters

This commit is contained in:
punkfairie 2025-03-11 20:59:56 -07:00
parent edc20aa461
commit 56dd538fcc
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
2 changed files with 15 additions and 0 deletions

View file

@ -159,6 +159,7 @@
vtsls
vue-language-server
yaml-language-server
yamllint
];
};

14
lua/plugins/nvim-lint.lua Normal file
View file

@ -0,0 +1,14 @@
return {
{
'mfussenegger/nvim-lint',
opts = {
linters_by_ft = {
bash = { 'shellcheck' },
css = { 'stylelint' },
scss = { 'stylelint' },
sh = { 'shellcheck' },
yaml = { 'yamllint' },
},
},
},
}