Skip to content

'import()' expressions are not supported yet inconsistency #349

@electriquo

Description

@electriquo

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.0

$ cat package.json | jq '.engines'
{
  "node": ">=18.15.0",
  "npm": ">=9.6.0"
}

The error seems to be false negative.
Is this a bug or did is my configuration the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions