mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-16 22:10:26 +00:00
Add .cjs (common javascript) to javascript syntax definition (#3539)
This commit is contained in:
parent
b881bf5606
commit
56c1f75bad
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
filetype: javascript
|
||||
|
||||
detect:
|
||||
filename: "(\\.js$|\\.es[5678]?$|\\.mjs$)"
|
||||
filename: "(\\.(m|c)?js$|\\.es[5678]?$)"
|
||||
header: "^#!.*/(env +)?node( |$)"
|
||||
|
||||
rules:
|
||||
|
|
|
|||
Loading…
Reference in a new issue