Skip to content

Commit

Permalink
Disable react/no-deprecated rule (#5205)
Browse files Browse the repository at this point in the history
* Disable react/no-deprecated rule

* Changed wording
  • Loading branch information
Timer authored Oct 1, 2018
1 parent 6261576 commit e0fe2d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ module.exports = {
'react/jsx-uses-react': 'warn',
'react/jsx-uses-vars': 'warn',
'react/no-danger-with-children': 'warn',
'react/no-deprecated': 'warn',
// Disabled because of undesirable warnings
// See https://github.com/facebook/create-react-app/issues/5204 for
// blockers until its re-enabled
// 'react/no-deprecated': 'warn',
'react/no-direct-mutation-state': 'warn',
'react/no-is-mounted': 'warn',
'react/react-in-jsx-scope': 'error',
Expand Down

0 comments on commit e0fe2d3

Please sign in to comment.