mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
workspace: apply eslint edits
This commit is contained in:
63 files changed
+47
-96
No files matched your search
@@ -1,6 +1,3 @@
|
||||
/* eslint-disable max-len */
|
||||
/* eslint-disable func-names */
|
||||
|
||||
interface IHydroError {
|
||||
new(...args: any[]): HydroError
|
||||
}
|
||||
|
||||
@@ -619,7 +619,6 @@ ${c.response.status} ${endTime - startTime}ms ${c.response.length}`);
|
||||
if (args.shorty) h.resetCompression();
|
||||
if (h._prepare) await h._prepare(args);
|
||||
if (h.prepare) await h.prepare(args);
|
||||
// eslint-disable-next-line @typescript-eslint/no-shadow
|
||||
for (const { name, target } of h.__subscribe || []) disposables.push(this.ctx.on(name, target.bind(h)));
|
||||
if (layer) {
|
||||
let lastHeartbeat = Date.now();
|
||||
|
||||
Reference in new issue
Block a user