-- In-editor ESLint diagnostics via the eslint language server (Mason: eslint-lsp, -- i.e. vscode-eslint-language-server). Added 2026-10-23 for the TS code-walkthrough prep. -- -- Diagnostics only, NO format/fix on save: eslint attaches and shows lint squiggles -- inline, but will not silently rewrite the buffer when you save (which would bury your -- real diff in a walkthrough). Fix manually with ca (code action -> "Fix all -- ESLint problems") or :EslintFixAll when you actually want it. -- -- Note: eslint runs the project's own eslint + typescript-eslint. typescript-eslint does -- not yet support TypeScript 7, so on a TS 7 project the server errors out — that is the -- project's toolchain, not this config. Projects pinned to TS 5.x work normally. return { { "neovim/nvim-lspconfig", opts = { servers = { eslint = { settings = { -- find eslint config even when it lives in a subfolder, not the cwd root workingDirectories = { mode = "auto" }, format = false, }, }, }, }, }, }