github-linguist / github-linguist/linguist
New JavaScript file extension `.esm`
Open
Improvement
- Dominant language
- Ruby
- Stars
- 13.7k
- Forks
- 5.4k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 17
Description
## Describe the enhancement
In [languages.yml#L2000-L2019](https://github.com/github/linguist/blob/47b109be3657fe3d5933fba6840a6ceea0f94498/lib/linguist/languages.yml#L2000-L2019) i don't see any mentioning of the extensions `.mjs` and `.esm`.
Which should be added IMHO :innocent:
For those unfamiliar with them they are used for [JavaScript modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#aside_%E2%80%94_.mjs_versus_.js) both in NodeJs and Browser environments. :wink:
Contributor guide
Assessment
This issue has not been assessed yet.