mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
[Dev] Remove useless noDoneCallback
linting rule (#6520)
* [Dev] Remove useless `noDoneCallback` linting rule * Removed disable comments
This commit is contained in:
parent
c0da686ba0
commit
e202cb63ac
@ -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",
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user