Skip to content

Commit d77d06e

Browse files
committed
fix(lint): babel.config.js and remove outdated rn-cli.config.js
1 parent a4247f0 commit d77d06e

File tree

2 files changed

+15
-51
lines changed

2 files changed

+15
-51
lines changed

babel.config.js

+15-15
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ module.exports = api => {
22
api.cache(true);
33

44
return {
5-
"presets": [
6-
"module:metro-react-native-babel-preset",
7-
"@babel/preset-flow"
5+
presets: [
6+
'module:metro-react-native-babel-preset',
7+
'@babel/preset-flow',
88
],
9-
"retainLines": true,
10-
"plugins": [
9+
retainLines: true,
10+
plugins: [
1111
[
12-
"module-resolver",
12+
'module-resolver',
1313
{
14-
"root": [
15-
"./src"
14+
root: [
15+
'./src',
1616
],
17-
"alias": {
18-
"package.json": "./package.json",
19-
"testData": "./__tests__/data"
20-
}
21-
}
17+
alias: {
18+
'package.json': './package.json',
19+
testData: './__tests__/data',
20+
},
21+
},
2222
],
23-
"transform-inline-environment-variables"
24-
]
23+
'transform-inline-environment-variables',
24+
],
2525
};
2626
};

rn-cli.config.js

-36
This file was deleted.

0 commit comments

Comments
 (0)