Skip to content

Commit baf9a2c

Browse files
existentialismrandycoulman
authored andcommitted
Make jsx-no-undef rule an error (facebook#1159)
1 parent 5830311 commit baf9a2c

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ module.exports = {
189189
// https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules
190190
'react/jsx-equals-spacing': ['warn', 'never'],
191191
'react/jsx-no-duplicate-props': ['warn', { ignoreCase: true }],
192-
'react/jsx-no-undef': 'warn',
192+
'react/jsx-no-undef': 'error',
193193
'react/jsx-pascal-case': ['warn', {
194194
allowAllCaps: true,
195195
ignore: [],

0 commit comments

Comments
 (0)