google / gts

☂️ TypeScript style guide, formatter, and linter.

Home Page:https://github.com/google/gts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add default support for mjs files

melink14 opened this issue · 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