Make jsx-no-undef rule an error (#1159)

This commit is contained in:
Brian Ng
2016-12-05 13:59:25 -06:00
committed by Dan Abramov
parent 4f3675c81f
commit 15f65a0a4e

View File

@@ -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: [],