Skip to content

Migrate to using languageOptions.parserOptions for Eslint 9+ #1001

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

Closed
Goldziher opened this issue Aug 4, 2024 · 1 comment
Closed

Migrate to using languageOptions.parserOptions for Eslint 9+ #1001

Goldziher opened this issue Aug 4, 2024 · 1 comment

Comments

@Goldziher
Copy link

This config uses a depracted key which causes the following issue:

Oops! Something went wrong! :(

ESLint: 9.8.0

A config object is using the "parserOptions" key, which is not supported in flat config system.

Flat config uses "languageOptions.parserOptions" to specify parser options.

Please see the following page for information on how to convert your config object into the correct format:
https://eslint.org/docs/latest/use/configure/migration-guide#configuring-language-options

If you're not using "parserOptions" directly (it may be coming from a plugin), please see the following:
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
 ELIFECYCLE  Command failed with exit code 2.

@ljharb
Copy link
Member

ljharb commented Aug 7, 2024

We don't support flat config yet; see #993.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2024
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