Add more eslint rules

This commit is contained in:
Vendicated
2022-10-08 20:36:57 +02:00
parent 0109381a4f
commit dea34503ef
13 changed files with 33 additions and 21 deletions

View File

@ -50,7 +50,7 @@ function patchPush() {
if (mod === originalMod) throw err;
logger.error("Error in patched chunk", err);
return originalMod(module, exports, require);
return void originalMod(module, exports, require);
}
// There are (at the time of writing) 11 modules exporting the window
@ -145,4 +145,3 @@ function patchPush() {
configurable: true
});
}