mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23: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": {
|
"linter": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"rules": {
|
"rules": {
|
||||||
@ -106,7 +106,7 @@
|
|||||||
},
|
},
|
||||||
"useCollapsedIf": "error",
|
"useCollapsedIf": "error",
|
||||||
"useCollapsedElseIf": "error",
|
"useCollapsedElseIf": "error",
|
||||||
"noDoneCallback": "error",
|
|
||||||
"noSubstr": "error",
|
"noSubstr": "error",
|
||||||
"noYodaExpression": "error",
|
"noYodaExpression": "error",
|
||||||
"useForOf": "error",
|
"useForOf": "error",
|
||||||
|
@ -62,14 +62,12 @@ beforeAll(() => {
|
|||||||
initTests();
|
initTests();
|
||||||
});
|
});
|
||||||
|
|
||||||
// biome-ignore-start lint/style/noDoneCallback: thinks this is jest done callback
|
|
||||||
beforeEach(context => {
|
beforeEach(context => {
|
||||||
logTestStart(context.task);
|
logTestStart(context.task);
|
||||||
});
|
});
|
||||||
afterEach(context => {
|
afterEach(context => {
|
||||||
logTestEnd(context.task);
|
logTestEnd(context.task);
|
||||||
});
|
});
|
||||||
// biome-ignore-end lint/style/noDoneCallback: thinks this is jest done callback
|
|
||||||
|
|
||||||
afterAll(() => {
|
afterAll(() => {
|
||||||
global.server.close();
|
global.server.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user