From 3b74499af1f2e78cd521e671a43c3b0343a3ddaa Mon Sep 17 00:00:00 2001 From: "Hans Bergren (0xCLARITY)" Date: Tue, 28 May 2024 09:38:50 -0700 Subject: [PATCH] Fix linting --- lib/rules/naming/func-named-parameters.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rules/naming/func-named-parameters.js b/lib/rules/naming/func-named-parameters.js index 2836d654..2fd22c69 100644 --- a/lib/rules/naming/func-named-parameters.js +++ b/lib/rules/naming/func-named-parameters.js @@ -84,9 +84,9 @@ class FunctionNamedParametersChecker extends BaseChecker { } isAbiCall(node) { - if (node.expression.type == 'MemberAccess') { - if (node.expression.expression.type == 'Identifier') { - if (node.expression.expression.name == 'abi') { + if (node.expression.type === 'MemberAccess') { + if (node.expression.expression.type === 'Identifier') { + if (node.expression.expression.name === 'abi') { return true } }