eslint-plugin-node icon indicating copy to clipboard operation
eslint-plugin-node copied to clipboard

Fix ES6 modules support

Open psfrolov opened this issue 4 years ago • 1 comments

Node has stable support for ES6 modules since 13.2.0.

psfrolov avatar Jun 15 '21 21:06 psfrolov

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.

JoaoMarquesFidalgo avatar Jul 01 '21 21:07 JoaoMarquesFidalgo