Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint server error #327

Closed
vchepeli opened this issue Feb 5, 2023 · 3 comments
Closed

ESLint server error #327

vchepeli opened this issue Feb 5, 2023 · 3 comments

Comments

@vchepeli
Copy link

vchepeli commented Feb 5, 2023

When open project in vscode I see

[Error - 20:31:46] ESLint stack trace:
[Error - 20:31:46] Error: Invalid Options:
- Unknown options: env, parserOptions, rules
- 'parserOptions' has been removed. Please use the 'overrideConfig.parserOptions' option instead.
- 'rules' has been removed. Please use the 'overrideConfig.rules' option instead.
    at processOptions (/Users/<redacted>/Documents/_CODE_/React/react-fundamentals/node_modules/eslint/lib/eslint/eslint.js:282:15)
    at new ESLint (/Users/<redacted>/Documents/_CODE_/React/react-fundamentals/node_modules/eslint/lib/eslint/eslint.js:429:34)
    at q (/Users/<redacted>/.vscode/extensions/dbaeumer.vscode-eslint-2.2.6/server/out/eslintServer.js:1:17975)
    at E (/Users/<redacted>/.vscode/extensions/dbaeumer.vscode-eslint-2.2.6/server/out/eslintServer.js:1:18312)
    at e.validate (/Users/<redacted>/.vscode/extensions/dbaeumer.vscode-eslint-2.2.6/server/out/eslintServer.js:1:23164)
    at /Users/<redacted>/.vscode/extensions/dbaeumer.vscode-eslint-2.2.6/server/out/eslintServer.js:1:210200
@kentcdodds
Copy link
Member

Hi @vchepeli, I'm guessing there's a problem with your ESLint extension config because the lint script itself works in CI and it works for me in my VSCode instance.

@vchepeli
Copy link
Author

vchepeli commented Feb 6, 2023

Hi @vchepeli, I'm guessing there's a problem with your ESLint extension config because the lint script itself works in CI and it works for me in my VSCode instance.

Hi @kentcdodds I use kcd settings for vscode, so not sure why server fails, seems extension error

@kentcdodds
Copy link
Member

I hope it works itself out soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants