mirror of
https://github.com/zyedidia/micro
synced 2024-11-05 17:41:24 +00:00
detect '.mjs' as javascript file
`.mjs` extension will be used as ECMAScript Modules
This commit is contained in:
parent
de35d00ba7
commit
a0a154d957
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
filetype: javascript
|
||||
|
||||
detect:
|
||||
filename: "(\\.js$|\\.es[5678]?$)"
|
||||
filename: "(\\.js$|\\.es[5678]?$|\\.mjs$)"
|
||||
header: "^#!.*/(env +)?node( |$)"
|
||||
|
||||
rules:
|
||||
|
|
Loading…
Reference in a new issue