-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
'import()' expressions are not supported yet inconsistency #349
Comments
I have what seems to be the same issue - "Import and export declarations are not supported yet". Using v11.1.1 of this plugin. Engines is Even if I put an override comment at the top of a specific file to configure the version, I still get the error. |
There's a big map of features and versions supported since here. There is The message I'm getting though is "Import and export declarations are not supported yet", which comes from here https://github.com/mysticatea/eslint-plugin-node/blob/master/lib/rules/no-unsupported-features/es-syntax.js#L577. |
We switched to it in eg. |
@voxpelli do you mean that eslint-plugin-n should be used instead of eslint-plugin-node? |
@foolioo exactly 🙂 |
When running ESLint, I get
error 'import()' expressions are not supported yet node/no-unsupported-features/es-syntax
Where
import()
is compatible since Node.js 13.2.0 and I am using Node.js 18.15.0The error seems to be false negative.
Is this a bug or did is my configuration the issue?
The text was updated successfully, but these errors were encountered: