workspace: apply eslint edits

This commit is contained in:
undefined committed 2025-03-21 09:48:17 +08:00
1 parent 040f7d8863
commit 0e7f5fe635
63 files changed
+47 -96

No files matched your search

-3
View File
@@ -1,6 +1,3 @@
/* eslint-disable max-len */
/* eslint-disable func-names */
interface IHydroError {
new(...args: any[]): HydroError
}
-1
View File
@@ -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();