Skip to content

Commit

Permalink
fixed allowArrowFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza-jamshaid committed Oct 14, 2024
1 parent 6499695 commit 2d45155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ module.exports = {
// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-bind.md
'react/jsx-no-bind': ['error', {
ignoreRefs: true,
allowArrowFunctions: true,
allowArrowFunctions: false,
allowFunctions: false,
allowBind: false,
ignoreDOMComponents: true,
Expand Down

0 comments on commit 2d45155

Please sign in to comment.