detecting JS language mode for tools

Kevin Smith zenparsing at
Fri Jan 24 11:54:50 PST 2014

> 7) Hence, it probably makes sense to promote a convention of using a new
> file extension for ES6 source files that are intended to be parsed with the
> modules goal.  .jsm, or mjs, or something similar that is appropriately
> suggestive and isn't already widely used as an extension.

Allen, I'm so glad you brought this option up!  I've had it in the back of
my mind for a good long while but I've always been hesitant to suggest it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list