[#421] added eslint check to CI (#534)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2026-02-10 10:41:37 +01:00
committed by GitHub
parent 8a6ec8fc39
commit d6e464afad
116 changed files with 1232 additions and 801 deletions
+4 -3
View File
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import "@testing-library/jest-dom";
import { TextEncoder } from "util";
@@ -49,7 +50,7 @@ class ResizeObserverMock {
disconnect() {}
}
(global as any).ResizeObserver = ResizeObserverMock;
global.ResizeObserver = ResizeObserverMock;
class IntersectionObserverMock {
observe() {}
@@ -59,8 +60,8 @@ class IntersectionObserverMock {
(global as any).IntersectionObserver = IntersectionObserverMock;
if (typeof window !== "undefined") {
(window as any).WS_PING_PERIOD_MS = 5000;
(window as any).WS_PING_TIMEOUT_PERIOD_MS = 5000;
window.WS_PING_PERIOD_MS = 5000;
window.WS_PING_TIMEOUT_PERIOD_MS = 5000;
}
// Suppress jsdom CSS selector parsing errors for Emotion/MUI
if (typeof window !== "undefined" && window.getComputedStyle) {