Skip to content

Enhancement: Convert packages to ESM #11379

Open
@kirkwaiblinger

Description

@kirkwaiblinger

Before You File a Proposal Please Confirm You Have Done The Following...

Relevant Package

typescript-eslint

My proposal is suitable for this project

  • I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).

Description

Since the release of node 20.19, the latest minor version of every non-EOL version of node now supports require(esm) unflagged. Therefore, I propose that the next major version, when we drop support for node 18, would be a good time to convert all of our codebase to ESM.

Unlike #9343, this proposal is not to dual-emit CJS and ESM (which was the only option at the time, due to lack of require(esm)), but to completely switch to ESM only. Therefore, this won't be nearly the maintenance effort that #9343 would have been at the time that it was proposed.

Additional Info

Related to #10885

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebreaking changeThis change will require a new major version to be releasedenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy