Skip to content

Commit e0fe2d3

Browse files
authored
Disable react/no-deprecated rule (#5205)
* Disable react/no-deprecated rule * Changed wording
1 parent 6261576 commit e0fe2d3

File tree

1 file changed

+4
-1
lines changed
  • packages/eslint-config-react-app

1 file changed

+4
-1
lines changed

packages/eslint-config-react-app/index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,10 @@ module.exports = {
199199
'react/jsx-uses-react': 'warn',
200200
'react/jsx-uses-vars': 'warn',
201201
'react/no-danger-with-children': 'warn',
202-
'react/no-deprecated': 'warn',
202+
// Disabled because of undesirable warnings
203+
// See https://github.com/facebook/create-react-app/issues/5204 for
204+
// blockers until its re-enabled
205+
// 'react/no-deprecated': 'warn',
203206
'react/no-direct-mutation-state': 'warn',
204207
'react/no-is-mounted': 'warn',
205208
'react/react-in-jsx-scope': 'error',

0 commit comments

Comments
 (0)