Open
Description
According node documentation, in ESM, file extensions are mandatory, with default value for this rule, it breaks Node native behavior.
There is in the same documentation a detailed explanation of how to detect if a module is CJS or ESM.
Originally posted by @klarkc in #928 (comment)