[Dev] Remove useless noDoneCallback linting rule (#6520)

* [Dev] Remove useless `noDoneCallback` linting rule

* Removed disable comments
This commit is contained in:
Bertie690 2025-09-08 11:53:59 -04:00 committed by GitHub
parent c0da686ba0
commit e202cb63ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -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",

View File

@ -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();