google/gts

Add default support for mjs files

melink14 opened this issue · 1 comments

mjs is the accepted file extension for JS with modules so it makes sense to include it in the default set of extensions checked with gts check.

I tried to support it via commandline flags but it looks like there is no way to extend the set of supported filetypes via gts flags since adding any commandline arguments overwrites the default ones.

Should likely support .cjs as well, then. And .mts and .cts for the TypeScript equivalents