Lint
This commit is contained in:
parent
d6794e6de8
commit
81941bb140
|
@ -80,6 +80,7 @@ if (window.BetterDiscord) {
|
|||
Logger.log('main', 'Attempting to inject again?');
|
||||
} else {
|
||||
let instance = null;
|
||||
// eslint-disable-next-line no-inner-declarations
|
||||
function init() {
|
||||
instance = new BetterDiscord();
|
||||
}
|
||||
|
|
|
@ -65,6 +65,7 @@ class Helpers {
|
|||
}
|
||||
static recursiveArrayCount(parent, key) {
|
||||
let count = 0;
|
||||
// eslint-disable-next-line no-empty-pattern
|
||||
for (let { } of this.recursiveArray(parent, key))
|
||||
++count;
|
||||
return this.recursiveArray(parent, key, count);
|
||||
|
@ -419,7 +420,7 @@ export class ReactComponents {
|
|||
}
|
||||
}
|
||||
if (have) return have;
|
||||
this.unknownComponents.push(c);
|
||||
return c;
|
||||
this.unknownComponents.push(component);
|
||||
return component;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue