mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +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
|
||||
extensions:
|
||||
- ".json5"
|
||||
filenames:
|
||||
- ".babelrc"
|
||||
tm_scope: source.js
|
||||
ace_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