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:
Max Stoiber
2016-07-24 13:18:28 +02:00
committed by Dan Abramov
parent 59ff0b59e0
commit 662fdb7055

View File

@@ -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, {