Skip to content

Commit 5278e7a

Browse files
committed
chore: disable react/no-deprecated eslint rule
1 parent 66e2160 commit 5278e7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc.js

+2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ module.exports = {
152152
'react/forbid-prop-types': 'off',
153153
// Allowing the non function setState approach
154154
'react/no-access-state-in-setstate': 'off',
155+
// Causes error suggesting we replace `hydrate` with `hydrateRoot`, which would break tests with React 16 and 17
156+
'react/no-deprecated': 'off',
155157
// Opting out of this
156158
'react/destructuring-assignment': 'off',
157159
// Adding 'skipShapeProps' as the rule has issues with correctly handling PropTypes.shape

0 commit comments

Comments
 (0)