summaryrefslogtreecommitdiff
path: root/benchmark/packages/timer/src
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <my.burning@gmail.com> 2024-10-08 10:12:40 +0100
committerGravatar GitHub <noreply@github.com> 2024-10-08 10:12:40 +0100
commit2a1536d0911e6d3db6666dfeb4ee697429078c1e (patch)
treecbf410a3a53c0a2e4fef4ebaa0ebdd904e179d9b /benchmark/packages/timer/src
parent91ecad2cc7f7cd514e903f06f2365142b555ed52 (diff)
downloadastro-2a1536d0911e6d3db6666dfeb4ee697429078c1e.tar.gz
astro-2a1536d0911e6d3db6666dfeb4ee697429078c1e.tar.zst
astro-2a1536d0911e6d3db6666dfeb4ee697429078c1e.zip
chore: move lint rules to Biome (#12145)
* chore: move lint rules to Astro * better suppression system * revert * format code * address more linting files * address more linting files
Diffstat (limited to 'benchmark/packages/timer/src')
-rw-r--r--benchmark/packages/timer/src/index.ts1
-rw-r--r--benchmark/packages/timer/src/preview.ts2
2 files changed, 1 insertions, 2 deletions
diff --git a/benchmark/packages/timer/src/index.ts b/benchmark/packages/timer/src/index.ts
index 2ea41af66..1c54e3727 100644
--- a/benchmark/packages/timer/src/index.ts
+++ b/benchmark/packages/timer/src/index.ts
@@ -27,7 +27,6 @@ export default function createIntegration(): AstroIntegration {
setAdapter(getAdapter());
if (config.output === 'static') {
- // eslint-disable-next-line no-console
console.warn(`[@benchmark/timer] \`output: "server"\` is required to use this adapter.`);
}
},
diff --git a/benchmark/packages/timer/src/preview.ts b/benchmark/packages/timer/src/preview.ts
index aa503c11b..9659a26be 100644
--- a/benchmark/packages/timer/src/preview.ts
+++ b/benchmark/packages/timer/src/preview.ts
@@ -9,7 +9,7 @@ const preview: CreatePreviewServer = async function ({ serverEntrypoint, host, p
server.listen(port, host);
enableDestroy(server);
- // eslint-disable-next-line no-console
+ // biome-ignore lint/suspicious/noConsoleLog: allowed
console.log(`Preview server listening on http://${host}:${port}`);
// Resolves once the server is closed