Skip to content

Commit c36d34e

Browse files
committed
Fix lint
1 parent 291f88a commit c36d34e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/rules/no-runloop.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ module.exports = {
119119
if (node.callee.type === 'Identifier') {
120120
const name = node.callee.name;
121121
const runloopFn = localToImportedNameMap[name];
122-
const isNotAllowed = runloopFn && !allowList.includes(runloopFn) && !Object.prototype.hasOwnProperty.call(Object.prototype, name);
122+
const isNotAllowed =
123+
runloopFn &&
124+
!allowList.includes(runloopFn) &&
125+
!Object.prototype.hasOwnProperty(name);
123126
if (isNotAllowed) {
124127
report(node, runloopFn, name);
125128
}

0 commit comments

Comments
 (0)