Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 68d9ff6

Browse filesBrowse files
authored
Promote "React must be in scope" to be an error (facebook#822)
1 parent 856001f commit 68d9ff6
Copy full SHA for 68d9ff6

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: packages/eslint-config-react-app/index.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ module.exports = {
196196
'react/no-deprecated': 'warn',
197197
'react/no-direct-mutation-state': 'warn',
198198
'react/no-is-mounted': 'warn',
199-
'react/react-in-jsx-scope': 'warn',
199+
'react/react-in-jsx-scope': 'error',
200200
'react/require-render-return': 'warn',
201201
'react/style-prop-object': 'warn',
202202

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.