reworking lsp/mason configs
This commit is contained in:
@@ -6,20 +6,20 @@ return {
|
||||
local lint = require('lint')
|
||||
|
||||
lint.linters_by_ft = {
|
||||
markdown = { 'markdownlint' },
|
||||
html = { 'htmlhint' },
|
||||
json = { 'jsonlint' },
|
||||
sh = { 'shellcheck' },
|
||||
bash = { 'shellcheck' },
|
||||
javascript = { 'eslint_d', 'trivy' },
|
||||
typescript = { 'eslint_d' },
|
||||
python = { 'pylint', 'trivy' },
|
||||
ansible = { 'ansiblelint' },
|
||||
gitcommit = { 'gitlint' },
|
||||
docker = { 'trivy' },
|
||||
yaml = { 'yamllint' },
|
||||
editorconfig = { 'editorconfig-checker' },
|
||||
systemd = { 'systemdlint' },
|
||||
-- markdown = { 'markdownlint' },
|
||||
-- html = { 'htmlhint' },
|
||||
-- json = { 'jsonlint' },
|
||||
-- sh = { 'shellharden', 'shellcheck' },
|
||||
-- bash = { 'shellharden', 'shellcheck' },
|
||||
-- javascript = { 'eslint_d', 'trivy' },
|
||||
-- typescript = { 'eslint_d' },
|
||||
-- python = { 'pylint', 'trivy' },
|
||||
-- ansible = { 'ansiblelint' },
|
||||
-- gitcommit = { 'gitlint' },
|
||||
-- docker = { 'trivy' },
|
||||
-- yaml = { 'trivy', 'yamllint' },
|
||||
-- editorconfig = { 'editorconfig-checker' },
|
||||
-- systemd = { 'systemdlint' },
|
||||
}
|
||||
|
||||
local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true })
|
||||
|
||||
Reference in New Issue
Block a user