Open
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read 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
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