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 8 UnhandledPromiseRejectionWarning: Error: Invalid Options: - Unknown options: configFile #1330

Closed
joshunger opened this issue Sep 2, 2021 · 2 comments

Comments

@joshunger
Copy link
Contributor

This is a minor issue, but the documentation is incorrect once eslint8 lands.

Install https://github.com/microsoft/vscode-eslint/releases/tag/release%2F2.1.24-Insider and eslint8.

configFile was removed and we're supposed to use overrideConfigFile.

Only appears to be a documentation issue on https://github.com/microsoft/vscode-eslint/blob/f90802225e6180b12c51e742bed8f002d29a13d8/README.md

@dbaeumer
Copy link
Member

dbaeumer commented Sep 7, 2021

@joshunger thanks for reporting.

@dbaeumer
Copy link
Member

dbaeumer commented Sep 7, 2021

The new readme point to the differences between the versions:

eslint.options: options to configure how ESLint is started using the ESLint class API. (If you use ESLint < v7, it will be used as an option for CLI Engine.) Defaults to an empty option bag

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