feat: Add linters
This commit is contained in:
parent
edc20aa461
commit
56dd538fcc
2 changed files with 15 additions and 0 deletions
|
@ -159,6 +159,7 @@
|
|||
vtsls
|
||||
vue-language-server
|
||||
yaml-language-server
|
||||
yamllint
|
||||
];
|
||||
};
|
||||
|
||||
|
|
14
lua/plugins/nvim-lint.lua
Normal file
14
lua/plugins/nvim-lint.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
{
|
||||
'mfussenegger/nvim-lint',
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
bash = { 'shellcheck' },
|
||||
css = { 'stylelint' },
|
||||
scss = { 'stylelint' },
|
||||
sh = { 'shellcheck' },
|
||||
yaml = { 'yamllint' },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue