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