From 1c1d1aa2d1fef137f07cd54abbc8147b5b620ad1 Mon Sep 17 00:00:00 2001 From: Mark Skelton Date: Thu, 24 Nov 2022 04:06:13 -0600 Subject: Add more ESLint options (#2254) --- lua/lspconfig/server_configurations/eslint.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/eslint.lua b/lua/lspconfig/server_configurations/eslint.lua index feb82c63..92a44ac4 100644 --- a/lua/lspconfig/server_configurations/eslint.lua +++ b/lua/lspconfig/server_configurations/eslint.lua @@ -84,6 +84,9 @@ return { validate = 'on', packageManager = 'npm', useESLintClass = false, + experimental = { + useFlatConfig = false, + }, codeActionOnSave = { enable = false, mode = 'all', @@ -93,6 +96,9 @@ return { onIgnoredFiles = 'off', rulesCustomizations = {}, run = 'onType', + problems = { + shortenToSingleLine = false, + }, -- nodePath configures the directory in which the eslint server should start its node_modules resolution. -- This path is relative to the workspace folder (root dir) of the server instance. nodePath = '', -- cgit v1.2.3-70-g09d2