Skip to content

Commit

Permalink
Make jsx-no-undef rule an error (facebook#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism authored and randycoulman committed May 8, 2017
1 parent 5830311 commit baf9a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ module.exports = {
// https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules
'react/jsx-equals-spacing': ['warn', 'never'],
'react/jsx-no-duplicate-props': ['warn', { ignoreCase: true }],
'react/jsx-no-undef': 'warn',
'react/jsx-no-undef': 'error',
'react/jsx-pascal-case': ['warn', {
allowAllCaps: true,
ignore: [],
Expand Down

0 comments on commit baf9a2c

Please sign in to comment.