Open ClementDreptin opened 2 weeks ago
Passing custom settings to require("lspconfig").eslint.setup() doesn't seem to have any effect.
require("lspconfig").eslint.setup()
-- Loaded with lazy.nvim return { "neovim/nvim-lspconfig", config = function() require("lspconfig").eslint.setup({ settings = { enable = false, }, }) end }
I expect eslint not to report any diagnostics.
Eslint still reports diagnostics.
vscode-eslint-language-server
enable
setup
{ settings = { enable = false } }
{ settings = { eslint = { enable = false } } }
{ enable = false }
{ eslint = { enable = false } }
I don't know if this is a bug, or if I'm missing something. If this is just a misunderstanding of the configuration on my part, I'm sorry.
I've also tried these solutions, however they did not seem to have an effect.
Description
Passing custom settings to
require("lspconfig").eslint.setup()
doesn't seem to have any effect.Config
Expected behavior
I expect eslint not to report any diagnostics.
Actual behavior
Eslint still reports diagnostics.
What I tried
vscode-eslint-language-server
because theenable
option works as expected within vscode.setup
, and nothing made a difference.{ settings = { enable = false } }
{ settings = { eslint = { enable = false } } }
{ enable = false }
{ eslint = { enable = false } }
I don't know if this is a bug, or if I'm missing something. If this is just a misunderstanding of the configuration on my part, I'm sorry.