Commit 15f65a0a authored by Brian Ng's avatar Brian Ng Committed by Dan Abramov
Browse files

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

parent 4f3675c8
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -189,7 +189,7 @@ module.exports = { ...@@ -189,7 +189,7 @@ module.exports = {
// https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules // https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules
'react/jsx-equals-spacing': ['warn', 'never'], 'react/jsx-equals-spacing': ['warn', 'never'],
'react/jsx-no-duplicate-props': ['warn', { ignoreCase: true }], 'react/jsx-no-duplicate-props': ['warn', { ignoreCase: true }],
'react/jsx-no-undef': 'warn', 'react/jsx-no-undef': 'error',
'react/jsx-pascal-case': ['warn', { 'react/jsx-pascal-case': ['warn', {
allowAllCaps: true, allowAllCaps: true,
ignore: [], ignore: [],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment