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

Fix ES6 modules support #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

psfrolov
Copy link

Node has stable support for ES6 modules since 13.2.0.

Node has stable support for ES6 modules since 13.2.0.
@JoaoMarquesFidalgo
Copy link

On my .eslintrc.json file, under rules I added modules to the ignores array and the error disapeared:

"node/no-unsupported-features/es-syntax": [
      "error",
      {
        "version": ">=8.0.0",
        "ignores": ["modules"]
      }
    ],

But should be updated, as you mentioned.

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

Successfully merging this pull request may close these issues.

2 participants