Skip to content

Commit

Permalink
Make jsx-no-undef rule an error (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism authored and gaearon committed Dec 5, 2016
1 parent 4f3675c commit 15f65a0
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 15f65a0

Please sign in to comment.