detect '.mjs' as javascript file

`.mjs` extension will be used as ECMAScript Modules
This commit is contained in:
Luiz Paulo "Bills 2018-09-29 14:43:10 -03:00 committed by GitHub
parent de35d00ba7
commit a0a154d957
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
filetype: javascript
detect:
filename: "(\\.js$|\\.es[5678]?$)"
filename: "(\\.js$|\\.es[5678]?$|\\.mjs$)"
header: "^#!.*/(env +)?node( |$)"
rules: