google / google/gts

Add default support for mjs files

Open
#655 1 comment 1 reaction 0 assignees View on GitHub
type: feature request
Dominant language
TypeScript
Stars
5.3k
Forks
212
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.