Skip to content

Commit

Permalink
chore: disable react/no-deprecated eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Xhale1 committed Jul 26, 2023
1 parent 66e2160 commit 5278e7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ module.exports = {
'react/forbid-prop-types': 'off',
// Allowing the non function setState approach
'react/no-access-state-in-setstate': 'off',
// Causes error suggesting we replace `hydrate` with `hydrateRoot`, which would break tests with React 16 and 17
'react/no-deprecated': 'off',
// Opting out of this
'react/destructuring-assignment': 'off',
// Adding 'skipShapeProps' as the rule has issues with correctly handling PropTypes.shape
Expand Down

1 comment on commit 5278e7a

@vercel
Copy link

@vercel vercel bot commented on 5278e7a Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.