Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Open
Labels
Milestone
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I havesearched for related issues and found none that match my proposal.
- I have searched thecurrent rule list and found no rules that match my proposal.
- I haveread the FAQ and my problem is not listed.
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
Sincethe release of node 20.19, the latest minor version of every non-EOL version of node now supportsrequire(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 ofrequire(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