chore: migrate lint to ESLint CLI with flat config

This commit is contained in:
2026-02-28 11:52:27 +01:00
parent 29f5324bd7
commit 1a88efc46b
3 changed files with 64 additions and 5 deletions

View File

@@ -135,7 +135,7 @@ export abstract class BaseApiService {
headers,
...options,
signal: controller.signal,
// @ts-ignore - undici-specific options not in standard fetch types
// @ts-expect-error - undici-specific options not in standard fetch types
connectTimeout: timeoutMs,
bodyTimeout: timeoutMs,
headersTimeout: timeoutMs,
@@ -155,12 +155,11 @@ export abstract class BaseApiService {
headers,
...options,
signal: controller.signal,
// @ts-ignore - undici-specific options
// @ts-expect-error - undici-specific options
connectTimeout: timeoutMs,
bodyTimeout: timeoutMs,
headersTimeout: timeoutMs,
// Force IPv4 si IPv6 pose problème
// @ts-ignore
family: 4,
// Next.js cache with tags support
next: options.tags
@@ -177,7 +176,7 @@ export abstract class BaseApiService {
headers,
...options,
signal: controller.signal,
// @ts-ignore - undici-specific options
// @ts-expect-error - undici-specific options
connectTimeout: timeoutMs,
bodyTimeout: timeoutMs,
headersTimeout: timeoutMs,