mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-11 23:53:03 -04:00
Add more eslint rules
This commit is contained in:
parent
0109381a4f
commit
dea34503ef
13 changed files with 33 additions and 21 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue