Skip to content

Migrating to ES modules #181

@43081j

Description

@43081j

We should be able to migrate the package to ESM now that all LTS other than 18.x support require(esm)

Basically, the only people affected will be those using flat configs written in CJS format with a version of node lower than 20.

Legacy config will already support this as it uses import under the hood to load the plugin.

In those cases, they can move their config file to eslint.config.mjs without having to migrate their entire repo.

I'd be happy to contribute this if you're on board

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions