-
Notifications
You must be signed in to change notification settings - Fork 345
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
imports do not work in flat config yarn pnp #1825
Comments
Which version of ESLint are you using. Good support for ESLint flat config requires 3.0.5 pre-release. |
@dbaeumer, we are using v3.0.5 of the extension |
I am having the exact same issue. Commands to reproduce the error
Error message
Environment dataVersion: 1.88.0 (user setup) ESLint Extension: v3.0.5 (pre-release) A reproducible repository can be found here: |
@HajekTim thanks for the GitHub repository: This is a problem with yarn pnp and flat config module files (mjs). See #1620 (comment) Will close the issue since this is something that needs to be fixed in yarn or the yarn sdk generation. |
I created yarnpkg/berry#6219 to track this in yarn. |
While using Flat Configs with yarn pnp, the CLI command works, but eslint Extension throws error
Error also occurs if public packages are imported
Here is a minimal reproduction: https://github.com/agarwalvaibhav0211/yarn-flat-config-eslint-error
The text was updated successfully, but these errors were encountered: