nvim: after/plugin/nvim-lint: Enable jq for json

While at it, use eslint and not eslint_d for javascript
and typescript.
This commit is contained in:
Sanchayan Maity 2024-11-18 10:57:46 +05:30
parent cfe57543c6
commit 2a5121372f
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -8,12 +8,13 @@ nvim_lint.linters_by_ft = {
fish = { 'fish' }, fish = { 'fish' },
go = { 'revive' }, go = { 'revive' },
haskell = { 'hlint' }, haskell = { 'hlint' },
javascript = { 'eslint_d' }, javascript = { 'eslint' },
json = { 'jq' },
lua = { 'luacheck' }, lua = { 'luacheck' },
markdown = { 'vale' }, markdown = { 'vale' },
sh = { 'shellcheck' }, sh = { 'shellcheck' },
systemd = { 'systemd-analyze' }, systemd = { 'systemd-analyze' },
typescript = { 'eslint_d' }, typescript = { 'eslint' },
yaml = { 'yamllint' }, yaml = { 'yamllint' },
} }