From 2d45155f62794b98582b8c11bf741c42a51bdb5e Mon Sep 17 00:00:00 2001 From: Hamza-jamshaid Date: Mon, 14 Oct 2024 12:43:25 -0700 Subject: [PATCH] fixed allowArrowFunction --- packages/eslint-config-airbnb/rules/react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb/rules/react.js b/packages/eslint-config-airbnb/rules/react.js index c4d29e0b39..e0c5870cbb 100644 --- a/packages/eslint-config-airbnb/rules/react.js +++ b/packages/eslint-config-airbnb/rules/react.js @@ -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,