Skip to content

Commit 6398ed5

Browse files
committed
run prettier
1 parent f0c0414 commit 6398ed5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,8 @@ function scanForDeclaredBareFunctions({
14291429
*/
14301430
function getDependency(node) {
14311431
if (
1432-
(node.parent.type === 'MemberExpression' || node.parent.type === 'OptionalMemberExpression') &&
1432+
(node.parent.type === 'MemberExpression' ||
1433+
node.parent.type === 'OptionalMemberExpression') &&
14331434
node.parent.object === node &&
14341435
node.parent.property.name !== 'current' &&
14351436
!node.parent.computed &&

0 commit comments

Comments
 (0)