I'm configuring neovim with none-ls and when I'm trying to add eslint_d to the setup I have this error :
[null-ls] failed to load builtin eslint_d for method diagnostics; please check your config
Here is what my none-ls.lua file looks like
return {
"nvimtools/none-ls.nvim",
config = function()
local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.formatting.stylua,
null_ls.builtins.formatting.prettier,
null_ls.builtins.diagnostics.eslint_d,
},
})
vim.keymap.set("n", "<leader>gf", vim.lsp.buf.format, {})
end,
}
I only have an issue with eslint_d (I tried eslint-lsp too, same issue)
I have installed eslint_d with Mason (even tried to uninstall and install it again) I have installed eslint_d globally using npm I have checked none-ls' documentation and it looks like it should work
Does anyone know what could be the issue? Thanks a lot!