Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
e0fe2d34
Unverified
Commit
e0fe2d34
authored
6 years ago
by
Joe Haddad
Committed by
GitHub
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Disable react/no-deprecated rule (#5205)
* Disable react/no-deprecated rule * Changed wording
parent
62615763
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/eslint-config-react-app/index.js
+4
-1
packages/eslint-config-react-app/index.js
with
4 additions
and
1 deletion
+4
-1
packages/eslint-config-react-app/index.js
+
4
-
1
View file @
e0fe2d34
...
@@ -199,7 +199,10 @@ module.exports = {
...
@@ -199,7 +199,10 @@ module.exports = {
'
react/jsx-uses-react
'
:
'
warn
'
,
'
react/jsx-uses-react
'
:
'
warn
'
,
'
react/jsx-uses-vars
'
:
'
warn
'
,
'
react/jsx-uses-vars
'
:
'
warn
'
,
'
react/no-danger-with-children
'
:
'
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-direct-mutation-state
'
:
'
warn
'
,
'
react/no-is-mounted
'
:
'
warn
'
,
'
react/no-is-mounted
'
:
'
warn
'
,
'
react/react-in-jsx-scope
'
:
'
error
'
,
'
react/react-in-jsx-scope
'
:
'
error
'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets