File tree Expand file tree Collapse file tree 4 files changed +615
-1086
lines changed Expand file tree Collapse file tree 4 files changed +615
-1086
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ root : true ,
3
+ extends : [
4
+ '@react-native' ,
5
+ 'plugin:prettier/recommended' ,
6
+ 'plugin:jest/recommended' ,
7
+ ] ,
8
+ rules : { } ,
9
+ ignorePatterns : [ 'lib/*' , 'node_modules/*' ] ,
10
+ } ;
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- printWidth : 100 ,
2
+ quoteProps : 'consistent' ,
3
3
singleQuote : true ,
4
+ tabWidth : 2 ,
4
5
trailingComma : 'es5' ,
6
+ useTabs : false ,
5
7
} ;
Original file line number Diff line number Diff line change 53
53
"devDependencies" : {
54
54
"@commitlint/config-conventional" : " ^17.0.2" ,
55
55
"@evilmartians/lefthook" : " ^1.2.2" ,
56
- "@react-native-community /eslint-config" : " ^3.0 .2" ,
56
+ "@react-native/eslint-config" : " ^0.72 .2" ,
57
57
"@react-navigation/elements" : " ^1.3.17" ,
58
58
"@react-navigation/native" : " ^6.1.6" ,
59
59
"@release-it/conventional-changelog" : " ^5.0.0" ,
69
69
"pod-install" : " ^0.1.0" ,
70
70
"prettier" : " ^2.0.5" ,
71
71
"react" : " 18.2.0" ,
72
- "react-native" : " 0.71.10 " ,
72
+ "react-native" : " 0.72.2 " ,
73
73
"react-native-builder-bob" : " ^0.20.4" ,
74
74
"react-native-safe-area-context" : " ^4.5.3" ,
75
75
"react-test-renderer" : " ^18.2.0" ,
107
107
}
108
108
}
109
109
},
110
- "eslintConfig" : {
111
- "root" : true ,
112
- "extends" : [
113
- " @react-native-community" ,
114
- " prettier"
115
- ],
116
- "rules" : {
117
- "prettier/prettier" : [
118
- " error" ,
119
- {
120
- "quoteProps" : " consistent" ,
121
- "singleQuote" : true ,
122
- "tabWidth" : 2 ,
123
- "trailingComma" : " es5" ,
124
- "useTabs" : false
125
- }
126
- ]
127
- }
128
- },
129
- "eslintIgnore" : [
130
- " node_modules/" ,
131
- " lib/"
132
- ],
133
- "prettier" : {
134
- "quoteProps" : " consistent" ,
135
- "singleQuote" : true ,
136
- "tabWidth" : 2 ,
137
- "trailingComma" : " es5" ,
138
- "useTabs" : false
139
- },
140
110
"react-native-builder-bob" : {
141
111
"source" : " src" ,
142
112
"output" : " lib" ,
You can’t perform that action at this time.
0 commit comments