Skip to content

Commit bb69f14

Browse files
gaearonfeiqitian
authored andcommitted
Promote "React must be in scope" to be an error (facebook#822)
1 parent 2e62323 commit bb69f14

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

Diff for: packages/eslint-config-react-app/index.js

+1-1
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)