Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed Jun 4, 2024
1 parent c36d34e commit 724593a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/rules/no-runloop.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ module.exports = {
const name = node.callee.name;
const runloopFn = localToImportedNameMap[name];
const isNotAllowed =
runloopFn &&
!allowList.includes(runloopFn) &&
!Object.prototype.hasOwnProperty(name);
runloopFn && !allowList.includes(runloopFn) && !Object.prototype.hasOwnProperty(name);
if (isNotAllowed) {
report(node, runloopFn, name);
}
Expand Down

0 comments on commit 724593a

Please sign in to comment.