Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default support for mjs files #655

Open
melink14 opened this issue Jul 23, 2021 · 1 comment
Open

Add default support for mjs files #655

melink14 opened this issue Jul 23, 2021 · 1 comment

Comments

@melink14
Copy link

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.

@RyanMartin-Carewell
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants