fix: downgrade ESLint to v8.57.1 for LSP compatibility

- Downgrade ESLint from v10.1.0 to v8.57.1
- Create .eslintrc.json config (ESLint v8 format)
- Remove eslint.config.js (flat config format)
- ESLint LSP (vscode-langservers-extracted) doesn't support ESLint v10+

The vscode-eslint-language-server from vscode-langservers-extracted v4.10.0
is not compatible with ESLint v10's Flat Config format. Downgrading to
ESLint v8 ensures the ESLint LSP in Neovim works correctly.
This commit is contained in:
2026-04-01 12:58:58 -07:00
parent ed43399b24
commit 96a7454d2f
3 changed files with 104 additions and 46 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"ignorePatterns": [
".next",
"out",
"build",
"next-env.d.ts",
"src/app/test-api/**"
]
}