diff --git a/biome.jsonc b/biome.jsonc index 3a35ec2712f..e1aac032597 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -46,7 +46,7 @@ } } }, - // TODO: Remove unneeded `options` blocks once biome cares + // TODO: Remove unneeded `options` blocks once biome's JSON schema is fixed to not require them "linter": { "enabled": true, "rules": { @@ -106,7 +106,7 @@ }, "useCollapsedIf": "error", "useCollapsedElseIf": "error", - "noDoneCallback": "error", + "noSubstr": "error", "noYodaExpression": "error", "useForOf": "error", diff --git a/test/vitest.setup.ts b/test/vitest.setup.ts index 61913cd0810..23adab01a05 100644 --- a/test/vitest.setup.ts +++ b/test/vitest.setup.ts @@ -62,14 +62,12 @@ beforeAll(() => { initTests(); }); -// biome-ignore-start lint/style/noDoneCallback: thinks this is jest done callback beforeEach(context => { logTestStart(context.task); }); afterEach(context => { logTestEnd(context.task); }); -// biome-ignore-end lint/style/noDoneCallback: thinks this is jest done callback afterAll(() => { global.server.close();