From 8fcf291c56994c1e9100a658bcb3f4a727244b75 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Sun, 19 May 2024 19:20:46 +0100 Subject: [PATCH] chore(vim): move back to eslint All the issues have not been resolved with linting. Nvim lint is more stable with its async linting. --- site-modules/core/files/vim/plugin/lint.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/site-modules/core/files/vim/plugin/lint.lua b/site-modules/core/files/vim/plugin/lint.lua index 0df24c8..2fd3fae 100644 --- a/site-modules/core/files/vim/plugin/lint.lua +++ b/site-modules/core/files/vim/plugin/lint.lua @@ -61,11 +61,11 @@ if vim.fn.executable "phpcs" == 1 then lint.linters_by_ft.php = { "phpcs" } end -if vim.fn.executable "eslint_d" == 1 then - lint.linters_by_ft.typescript = { "eslint_d" } - lint.linters_by_ft.javascript = { "eslint_d" } - lint.linters_by_ft.typescriptreact = { "eslint_d" } - lint.linters_by_ft.javascriptreact = { "eslint_d" } +if vim.fn.executable "eslint" == 1 then + lint.linters_by_ft.typescript = { "eslint" } + lint.linters_by_ft.javascript = { "eslint" } + lint.linters_by_ft.typescriptreact = { "eslint" } + lint.linters_by_ft.javascriptreact = { "eslint" } end if vim.fn.executable "luacheck" == 1 then