🚨(eslint) add missing rules

We recently upgraded to Eslint v9, it seems that
it is missing some rules that we had previously.
We add them back:
- @typescript-eslint/no-inferrable-types
- @typescript-eslint/no-floating-promises
This commit is contained in:
Anthony LC
2025-10-20 21:53:10 +02:00
parent 18feab10cb
commit b3cc2bf833
11 changed files with 18 additions and 14 deletions

View File

@@ -48,7 +48,7 @@ export const overrideConfig = async (
export const keyCloakSignIn = async (
page: Page,
browserName: string,
fromHome: boolean = true,
fromHome = true,
) => {
if (fromHome) {
await page.getByRole('button', { name: 'Start Writing' }).first().click();
@@ -79,8 +79,8 @@ export const createDoc = async (
page: Page,
docName: string,
browserName: string,
length: number = 1,
isMobile: boolean = false,
length = 1,
isMobile = false,
) => {
const randomDocs = randomName(docName, browserName, length);