mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-06-18 20:16:44 +08:00
Disable jsx-handler-name eslint rule (#157)
Ref #156 Not sure if we can simply delete the line and that'll disable it, so I went with setting it to 0. Let me know!
This commit is contained in:
@@ -179,10 +179,6 @@ module.exports = {
|
||||
|
||||
// https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules
|
||||
'react/jsx-equals-spacing': [WARNING, 'never'],
|
||||
'react/jsx-handler-names': [WARNING, {
|
||||
eventHandlerPrefix: 'handle',
|
||||
eventHandlerPropPrefix: 'on',
|
||||
}],
|
||||
'react/jsx-no-duplicate-props': [WARNING, { ignoreCase: true }],
|
||||
'react/jsx-no-undef': WARNING,
|
||||
'react/jsx-pascal-case': [WARNING, {
|
||||
|
||||
Reference in New Issue
Block a user