Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upShould automatically lint *.mjs files #1009
Comments
This comment has been minimized.
This comment has been minimized.
|
Sounds reasonable.
Side note tho: from talking to TSC members, this may change in the future.
My understanding is that the
`.mjs` extension was brought in place so the module spec could be
implemented and tested, but now
that that's happened, they'll be digging into ergonomics, which means
figuring out compat with just a `.js`
extension. It's unsure what will come from it, but yeah it might be prone
to change. Kinda just sharing
what I've overheard in recent weeks (:
…On Tue, Oct 31, 2017 at 5:39 AM Feross Aboukhadijeh < ***@***.***> wrote:
ES6 module support is coming to Node.js. That means a new file extension
(*.mjs) that denotes an ES6 module file. standard should automatically
lint this file extension, since that's what users expect.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1009>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACWlehhJsMq-oQLwoPffDzX6epxVFN9Oks5sxqSZgaJpZM4QMMtq>
.
|
This comment has been minimized.
This comment has been minimized.
|
Yeah they've made a big of a mess |
This comment has been minimized.
This comment has been minimized.
|
@yoshuawuyts Cool, thanks for sharing. I've just started playing around with Edit: This blog post has the most useful info I've been able to find about ESM in Node.js: http://2ality.com/2017/09/native-esm-node.html |
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
May 10, 2018
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
May 10, 2018
stale
bot
closed this
May 17, 2018
feross
reopened this
May 20, 2018
stale
bot
removed
the
stale
label
May 20, 2018
feross
added
the
enhancement
label
May 20, 2018
feross
added this to the standard 14 milestone
Aug 13, 2019
This comment has been minimized.
This comment has been minimized.
|
Only one repo started failing from this change ( This will ship in |
feross
closed this
in
standard/standard-engine@30ece77
Aug 14, 2019
This comment has been minimized.
This comment has been minimized.
|
I just remembered that |
feross commentedOct 31, 2017
•
edited
ES6 module support is coming to Node.js. That means a new file extension (*.mjs) that denotes an ES6 module file.
standardshould automatically lint this file extension, since that's what users will expect.