add eslint config (#53)

* eslint

* workflow

* lint main
This commit is contained in:
Ven
2022-10-06 00:42:58 +02:00
committed by GitHub
parent e563521416
commit 74c3930e0a
41 changed files with 141 additions and 87 deletions

View File

@ -36,7 +36,7 @@ export type CallbackFn = (mod: any) => void;
export function _initWebpack(instance: typeof window.webpackChunkdiscord_app) {
if (cache !== void 0) throw "no.";
wreq = instance.push([[Symbol()], {}, (r) => r]);
wreq = instance.push([[Symbol()], {}, r => r]);
cache = wreq.c;
instance.pop();
}