Skip to content

Commit c8876b1

Browse files
committedAug 3, 2021
[Dev Deps] update babel to use airbnb preset
1 parent e20db4e commit c8876b1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎.babelrc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"presets": [ "es2015-argon" ],
2+
"presets": ["airbnb"],
33
"sourceMaps": "inline",
44
"retainLines": true,
55
"env": {
66
"test": {
77
"plugins": [
88
"istanbul",
9-
[ "module-resolver", { "root": [ "./src/" ] } ]
9+
["module-resolver", { "root": ["./src/"] }],
1010
]
1111
},
1212
"testCompiled": {
1313
"plugins": [
14-
[ "module-resolver", { "root": [ "./lib/" ] } ]
14+
["module-resolver", { "root": ["./lib/"] }],
1515
]
1616
}
1717
}

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"babel-eslint": "=8.0.3 || ^8.2.6",
6464
"babel-plugin-istanbul": "^4.1.6",
6565
"babel-plugin-module-resolver": "^2.7.1",
66+
"babel-preset-airbnb": "^2.6.0",
6667
"babel-preset-es2015-argon": "latest",
6768
"babel-preset-flow": "^6.23.0",
6869
"babel-register": "^6.26.0",

0 commit comments

Comments
 (0)
Please sign in to comment.