diff options
| author | Sergei Slipchenko <faergeek@gmail.com> | 2026-02-27 14:20:46 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-27 05:20:46 -0500 |
| commit | 6c9cb150e54bba2c1fe4aec2a5899aa87945b6e4 (patch) | |
| tree | f1da1fbd75e9f21e6c050c7ff05728001149a2d4 /lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-6c9cb150e54bba2c1fe4aec2a5899aa87945b6e4.tar nvim-lspconfig-6c9cb150e54bba2c1fe4aec2a5899aa87945b6e4.tar.gz nvim-lspconfig-6c9cb150e54bba2c1fe4aec2a5899aa87945b6e4.tar.bz2 nvim-lspconfig-6c9cb150e54bba2c1fe4aec2a5899aa87945b6e4.tar.lz nvim-lspconfig-6c9cb150e54bba2c1fe4aec2a5899aa87945b6e4.tar.xz nvim-lspconfig-6c9cb150e54bba2c1fe4aec2a5899aa87945b6e4.tar.zst nvim-lspconfig-6c9cb150e54bba2c1fe4aec2a5899aa87945b6e4.zip | |
fix(eslint): don't implicitly enable `experimental.useFlatConfig` #4329
Problem: `experimental.useFlatConfig` forcefully turns on the logic to
use a separate programmatic interface for flat config usage in ESLint.
That interface was removed in ESLint v10 where flat config format is the
only supported config format. But when the setting is turned on the
language server still looks for that interface and fails when it can't
find it. The end result is that language server turns off it's
validation/diagnostics when used with ESLint v10.
Solution: do not turn on `experimental.useFlatConfig` setting based on
the presence of flat config files. Instead use the default behavior of
the language server which matches the ESLint's default behavior and let
the user explicitly override it via config when necessary.
Diffstat (limited to 'lua')
0 files changed, 0 insertions, 0 deletions
