Open jimmywarting opened 2 years ago
It's currently listed as a style rule... https://github.com/mysticatea/eslint-plugin-node/blob/f45c6149be7235c0f7422d1179c25726afeecd83/lib/rules/file-extension-in-import.js#L39-L40
however real esm dose not correctly work without it. sources can't guess what you need. it can't scan the filesystem and automatically figure it out, this is not how the browser, deno and node's own esm system works.
It's currently listed as a style rule... https://github.com/mysticatea/eslint-plugin-node/blob/f45c6149be7235c0f7422d1179c25726afeecd83/lib/rules/file-extension-in-import.js#L39-L40
however real esm dose not correctly work without it. sources can't guess what you need. it can't scan the filesystem and automatically figure it out, this is not how the browser, deno and node's own esm system works.