Skip to content

Support ESM for Node.js #112

Description

@acostalima

ESM is already supported in Node.js since v12 [docs]. However, we're currently missing proper support and documentation as follows:

  • Top-level await triggers an error
  • .mjs files are not being considered for linting
  • There are no instructions on how to setup a config for ESM in Node.js
  • ...anything else?

@satazor @threequartersjohn thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions