From adf3e2f376cc5722b6085519b55db94777eca7b6 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 2 May 2018 17:36:29 +0100 Subject: [PATCH] Change jsx-no-bind to warn --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index c6aeb0d1be..9c14917e1f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -41,7 +41,8 @@ module.exports = { "react/jsx-uses-react": "error", // bind or arrow function in props causes performance issues - "react/jsx-no-bind": ["error", { + // (but we currently use them in some places) + "react/jsx-no-bind": ["warn", { "ignoreRefs": true, }], "react/jsx-key": ["error"],