add lint command, lint and lint:fix project

This commit is contained in:
wearrrrr 2024-09-01 19:01:24 -05:00
parent 430c7ad6ec
commit 93b609932d
23 changed files with 36916 additions and 25 deletions

View file

@ -32,11 +32,13 @@ export class ScramjetServiceWorker {
if (data.scramjet$type === "registerServiceWorker") {
this.serviceWorkers.push(new FakeServiceWorker(data.port, data.origin));
return;
}
if (data.scramjet$type === "cookie") {
this.cookieStore.setCookies([data.cookie], new URL(data.url));
return;
}
@ -49,7 +51,6 @@ export class ScramjetServiceWorker {
this.dataworkerpromises[data.id] = { promise, resolve };
resolve(data.data);
}
return;
}
});
}