Skip to content

Commit 2d45155

Browse files
fixed allowArrowFunction
1 parent 6499695 commit 2d45155

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-airbnb/rules

1 file changed

+1
-1
lines changed

packages/eslint-config-airbnb/rules/react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ module.exports = {
109109
// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-bind.md
110110
'react/jsx-no-bind': ['error', {
111111
ignoreRefs: true,
112-
allowArrowFunctions: true,
112+
allowArrowFunctions: false,
113113
allowFunctions: false,
114114
allowBind: false,
115115
ignoreDOMComponents: true,

0 commit comments

Comments
 (0)