github-linguist / github-linguist/linguist

New JavaScript file extension `.esm`

Open
#5,847 2 comments 0 reactions 0 assignees View on GitHub
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

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.