Skip to content

Commit a96aeab

Browse files
kassensfacebook-github-bot
authored andcommitted
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
1 parent be60aed commit a96aeab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ module.exports = {
3131
'ft-flow/define-flow-type': 0,
3232
'ft-flow/use-flow-type': 0,
3333
'lint/sort-imports': 1,
34-
// flow handles this check for us, so it's not required
34+
// Flow handles these checks for us, so they aren't required
3535
'no-undef': 0,
36+
'no-unreachable': 0,
3637
},
3738
},
3839
{

0 commit comments

Comments
 (0)