We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c36d34e commit 724593aCopy full SHA for 724593a
1 file changed
lib/rules/no-runloop.js
@@ -120,9 +120,7 @@ module.exports = {
120
const name = node.callee.name;
121
const runloopFn = localToImportedNameMap[name];
122
const isNotAllowed =
123
- runloopFn &&
124
- !allowList.includes(runloopFn) &&
125
- !Object.prototype.hasOwnProperty(name);
+ runloopFn && !allowList.includes(runloopFn) && !Object.prototype.hasOwnProperty(name);
126
if (isNotAllowed) {
127
report(node, runloopFn, name);
128
}
0 commit comments