File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ presets : [ 'module:metro-react-native-babel-preset' ] ,
3
+ plugins : [
4
+ [
5
+ 'babel-plugin-root-import' ,
6
+ {
7
+ rootPathSuffix : 'src' ,
8
+ } ,
9
+ ] ,
10
+ ]
11
+ } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"babel-eslint" : " ^10.0.0" ,
3
- "eslint" : " ^5.0.0" ,
3
+ "babel-plugin-root-import" : " ^6.0.0" ,
4
+ "enzyme-adapter-react-16" : " ^1.0.0" ,
5
+ "enzyme-to-json" : " ^3.0.0" ,
6
+ "enzyme" : " ^3.0.0" ,
4
7
"eslint-config-airbnb" : " ^17.0.0" ,
5
8
"eslint-config-prettier" : " ^4.0.0" ,
9
+ "eslint-import-resolver-babel-plugin-root-import" : " ^1.0.0" ,
6
10
"eslint-plugin-import" : " ^2.0.0" ,
7
11
"eslint-plugin-jsx-a11y" : " ^6.0.0" ,
8
12
"eslint-plugin-prettier" : " ^3.0.0" ,
9
13
"eslint-plugin-react" : " ^7.0.0" ,
10
14
"eslint-plugin-react-native" : " ^3.0.0" ,
11
- "enzyme" : " ^3.0.0" ,
12
- "enzyme-adapter-react-16" : " ^1.0.0" ,
13
- "enzyme-to-json" : " ^3.0.0" ,
15
+ "eslint" : " ^5.0.0" ,
14
16
"flow-bin" : " ^0.92.0" ,
15
17
"husky" : " ^2.0.0" ,
16
18
"lint-staged" : " ^8.0.0" ,
You can’t perform that action at this time.
0 commit comments