gts icon indicating copy to clipboard operation
gts copied to clipboard

Add default support for mjs files

Open melink14 opened this issue 4 years ago • 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.

melink14 avatar Jul 23 '21 01:07 melink14

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

RyanMartin-Carewell avatar May 19 '24 16:05 RyanMartin-Carewell