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 alexdriaguine committed Jan 23, 2017
1 parent da53c1c commit 704ac03
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 704ac03

Please sign in to comment.