File tree 3 files changed +125
-136
lines changed
3 files changed +125
-136
lines changed Original file line number Diff line number Diff line change 53
53
"enzyme" : " ^3.4.1" ,
54
54
"enzyme-to-json" : " ^3.3.4" ,
55
55
"eslint" : " ^4.19.1" ,
56
- "eslint-config-airbnb" : " ^16 .0.0" ,
56
+ "eslint-config-airbnb" : " ^17 .0.0" ,
57
57
"eslint-config-prettier" : " ^2.6.0" ,
58
- "eslint-plugin-import" : " ^2.13 .0" ,
59
- "eslint-plugin-jsx-a11y" : " ^6.1.0 " ,
58
+ "eslint-plugin-import" : " ^2.14 .0" ,
59
+ "eslint-plugin-jsx-a11y" : " ^6.1.1 " ,
60
60
"eslint-plugin-react" : " ^7.10.0" ,
61
61
"gzip-size" : " ^5.0.0" ,
62
62
"husky" : " ^0.14.3" ,
63
63
"in-publish" : " 2.0.0" ,
64
- "jest" : " ^23.4.2 " ,
65
- "lint-staged" : " ^7.2.0 " ,
64
+ "jest" : " ^23.5.0 " ,
65
+ "lint-staged" : " ^7.2.2 " ,
66
66
"preact" : " ^8.3.0" ,
67
67
"prettier" : " ^1.14.2" ,
68
68
"pretty-bytes" : " 5.1.0" ,
99
99
},
100
100
"extends" : [
101
101
" airbnb" ,
102
- " prettier"
102
+ " prettier" ,
103
+ " prettier/react" ,
104
+ " prettier/standard"
103
105
],
104
106
"rules" : {
105
107
"camelcase" : 0 ,
106
108
"import/prefer-default-export" : 0 ,
107
109
"import/no-extraneous-dependencies" : 0 ,
108
110
"no-nested-ternary" : 0 ,
109
111
"no-underscore-dangle" : 0 ,
112
+ "react/destructuring-assignment" : 0 ,
110
113
"react/no-array-index-key" : 0 ,
111
114
"react/react-in-jsx-scope" : 0 ,
112
115
"semi" : [
Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ describe('reactTreeWalker', () => {
236
236
getChildContext ( ) {
237
237
return { foo : 'val' }
238
238
}
239
+
239
240
render ( ) {
240
241
return h ( 'div' , null , this . props . children )
241
242
}
You can’t perform that action at this time.
0 commit comments