From a96aeab147d5441bc9d58a351ae3c91c2cb66744 Mon Sep 17 00:00:00 2001 From: Jan Kassens Date: Wed, 7 May 2025 14:57:36 -0700 Subject: [PATCH] use difftrain version of eslint-plugin-react-hooks Summary: Switches to use the version imported through diff train for `eslint-plugin-react-hooks`. This should allow us to finally use component syntax in RN. bypass-github-export-checks Changelog: [internal] Reviewed By: yungsters Differential Revision: D74203162 fbshipit-source-id: d9ea17e5c6533e8df0889404a7f7798f6f5061c0 --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index fcb246db7bc..0f82f9203ee 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -31,8 +31,9 @@ module.exports = { 'ft-flow/define-flow-type': 0, 'ft-flow/use-flow-type': 0, 'lint/sort-imports': 1, - // flow handles this check for us, so it's not required + // Flow handles these checks for us, so they aren't required 'no-undef': 0, + 'no-unreachable': 0, }, }, {