From 2a5121372ff56231a28abcd515b0ccfa1526ebaf Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Mon, 18 Nov 2024 10:57:46 +0530 Subject: [PATCH] nvim: after/plugin/nvim-lint: Enable jq for json While at it, use eslint and not eslint_d for javascript and typescript. --- nvim/.config/nvim/after/plugin/nvim-lint.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nvim/.config/nvim/after/plugin/nvim-lint.lua b/nvim/.config/nvim/after/plugin/nvim-lint.lua index c5f72c0..be5e3d0 100644 --- a/nvim/.config/nvim/after/plugin/nvim-lint.lua +++ b/nvim/.config/nvim/after/plugin/nvim-lint.lua @@ -8,12 +8,13 @@ nvim_lint.linters_by_ft = { fish = { 'fish' }, go = { 'revive' }, haskell = { 'hlint' }, - javascript = { 'eslint_d' }, + javascript = { 'eslint' }, + json = { 'jq' }, lua = { 'luacheck' }, markdown = { 'vale' }, sh = { 'shellcheck' }, systemd = { 'systemd-analyze' }, - typescript = { 'eslint_d' }, + typescript = { 'eslint' }, yaml = { 'yamllint' }, }