Skip to content

Commit 724593a

Browse files
committed
Fix lint
1 parent c36d34e commit 724593a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/rules/no-runloop.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ module.exports = {
120120
const name = node.callee.name;
121121
const runloopFn = localToImportedNameMap[name];
122122
const isNotAllowed =
123-
runloopFn &&
124-
!allowList.includes(runloopFn) &&
125-
!Object.prototype.hasOwnProperty(name);
123+
runloopFn && !allowList.includes(runloopFn) && !Object.prototype.hasOwnProperty(name);
126124
if (isNotAllowed) {
127125
report(node, runloopFn, name);
128126
}

0 commit comments

Comments
 (0)