Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCLARITY committed May 28, 2024
1 parent ccffdcb commit 3b74499
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rules/naming/func-named-parameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 3b74499

Please sign in to comment.