mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-22 11:57:27 +08:00
Make jsx-no-undef rule an error (#1159)
This commit is contained in:
@@ -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: [],
|
||||
|
||||
Reference in New Issue
Block a user