mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Detect .babelrc (#3358)
`.babelrc` is Babel configuration file in JSON 5 format.
This commit is contained in:
committed by
Brandon Black
parent
5aa53c0711
commit
cd30c7613c
@@ -1962,6 +1962,8 @@ JSON5:
|
|||||||
type: data
|
type: data
|
||||||
extensions:
|
extensions:
|
||||||
- ".json5"
|
- ".json5"
|
||||||
|
filenames:
|
||||||
|
- ".babelrc"
|
||||||
tm_scope: source.js
|
tm_scope: source.js
|
||||||
ace_mode: javascript
|
ace_mode: javascript
|
||||||
codemirror_mode: javascript
|
codemirror_mode: javascript
|
||||||
|
|||||||
6
samples/JSON5/filenames/.babelrc
Normal file
6
samples/JSON5/filenames/.babelrc
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"presets": [
|
||||||
|
"es2015",
|
||||||
|
"es2016"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user