Skip to content

Commit 99608d0

Browse files
committed
Upgrades deps
1 parent 6f89efd commit 99608d0

File tree

3 files changed

+484
-443
lines changed

3 files changed

+484
-443
lines changed

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"app-root-dir": "1.0.2",
5252
"babel-cli": "^6.26.0",
5353
"babel-core": "^6.26.3",
54-
"babel-eslint": "8.2.3",
54+
"babel-eslint": "10.0.3",
5555
"babel-jest": "^23.0.1",
5656
"babel-plugin-external-helpers": "^6.22.0",
5757
"babel-plugin-transform-class-properties": "6.24.1",
@@ -66,12 +66,13 @@
6666
"enzyme": "^3.10.0",
6767
"enzyme-adapter-react-16": "^1.15.1",
6868
"enzyme-to-json": "^3.4.2",
69-
"eslint": "^4.7.2",
70-
"eslint-config-airbnb": "^16.1.0",
71-
"eslint-config-prettier": "^2.9.0",
69+
"eslint": "^6.5.1",
70+
"eslint-config-airbnb": "^18.0.1",
71+
"eslint-config-prettier": "^6.4.0",
7272
"eslint-plugin-import": "^2.18.2",
7373
"eslint-plugin-jsx-a11y": "^6.2.3",
7474
"eslint-plugin-react": "^7.16.0",
75+
"eslint-plugin-react-hooks": "^2.1.2",
7576
"gzip-size": "^4.0.0",
7677
"husky": "^0.14.3",
7778
"in-publish": "2.0.0",
@@ -122,6 +123,7 @@
122123
"camelcase": 0,
123124
"import/prefer-default-export": 0,
124125
"import/no-extraneous-dependencies": 0,
126+
"max-classes-per-file": 0,
125127
"no-nested-ternary": 0,
126128
"no-underscore-dangle": 0,
127129
"react/no-array-index-key": 0,
@@ -130,9 +132,13 @@
130132
2,
131133
"never"
132134
],
135+
"react/destructuring-assignment": 0,
133136
"react/forbid-prop-types": 0,
134137
"react/jsx-filename-extension": 0,
135-
"react/sort-comp": 0
138+
"react/jsx-props-no-spreading": 0,
139+
"react/sort-comp": 0,
140+
"react/state-in-constructor": 0,
141+
"react/static-property-placement": 0
136142
}
137143
},
138144
"eslintIgnore": [

src/with-size.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const renderWrapper = WrappedComponent => {
119119
size: PropTypes.shape({
120120
width: PropTypes.number, // eslint-disable-line react/no-unused-prop-types
121121
height: PropTypes.number, // eslint-disable-line react/no-unused-prop-types
122+
position: PropTypes.object,
122123
}),
123124
disablePlaceholder: PropTypes.bool,
124125
onSize: PropTypes.func,

0 commit comments

Comments
 (0)