Skip to content

Commit

Permalink
fix(eslint-config): remove jsx-handler-names rule
Browse files Browse the repository at this point in the history
it's not working with destructured props
  • Loading branch information
andrepolischuk committed Aug 27, 2024
1 parent 96ba8cf commit dcf826a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/eslint-config/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ module.exports = {
'react/jsx-no-useless-fragment': 'error',
'react/no-multi-comp': 'error',
'react/hook-use-state': 'error',
'react/jsx-handler-names': [
'error',
{
eventHandlerPrefix: 'handle',
eventHandlerPropPrefix: 'on',
checkLocalVariables: true,
checkInlineFunction: true
}
],
'react-hooks/exhaustive-deps': [
'warn',
{
Expand Down

0 comments on commit dcf826a

Please sign in to comment.