Files
TREK/client/scripts/eslint-baseline.json
T
Maurice 10ad92574d fix(ci): presence through the sessions domain, warm bags taken once, a slimmer planner page
Server lint: the realtime gateway injected the user_sessions repository, a table the sessions domain owns; it now asks SessionsService. The presence tests reuse the handshake's gateway instead of building one more by hand (test-new-service ratchet).

Client tests: the packing bags kept per trip leaked from one test (and one list) into the next; bags read ahead are now taken once as the list's first state, and only while bag tracking is on. The planner hook hands the page planMapKept, tourMapKept and the tour stage's class, so page tests that mock the hook keep working and TripPlannerPage is back at its size baseline (1127); the B4A wiring test reads the new condition.

Client lint: max-depth in src is down to 19, the baseline follows; the new websocket tests call onopen with ?. instead of a non-null assertion.
2026-11-29 10:13:53 +01:00

52 lines
1.7 KiB
JSON

{
"src": {
"@typescript-eslint/no-non-null-assertion": 345,
"@typescript-eslint/no-misused-promises": 812,
"no-console": 85,
"complexity": 215,
"@typescript-eslint/no-explicit-any": 114,
"trek/no-swallowed-catch": 124,
"max-params": 31,
"trek/store-without-selector": 65,
"react-hooks/refs": 522,
"react-hooks/set-state-in-effect": 188,
"@typescript-eslint/no-floating-promises": 162,
"react-hooks/exhaustive-deps": 112,
"@typescript-eslint/no-unused-vars": 100,
"react-hooks/immutability": 26,
"max-lines-per-function": 126,
"react-hooks/static-components": 38,
"react-hooks/preserve-manual-memoization": 12,
"no-useless-assignment": 7,
"no-empty": 18,
"trek/no-window-globals": 41,
"react-refresh/only-export-components": 44,
"unused-disable-directive": 5,
"max-depth": 19,
"react-hooks/void-use-memo": 1,
"@typescript-eslint/no-unused-expressions": 2,
"react-hooks/purity": 1,
"preserve-caught-error": 53,
"no-useless-escape": 1
},
"suppressed": {
"@typescript-eslint/no-explicit-any": 38,
"react-hooks/exhaustive-deps": 44
},
"tests": {
"@typescript-eslint/no-explicit-any": 484,
"@typescript-eslint/no-non-null-assertion": 1849,
"@typescript-eslint/no-misused-promises": 22,
"@typescript-eslint/no-unused-vars": 48,
"@typescript-eslint/no-floating-promises": 33,
"trek/no-window-globals": 321,
"trek/no-swallowed-catch": 6,
"react-hooks/globals": 4,
"react-hooks/refs": 16,
"@typescript-eslint/no-this-alias": 1,
"trek/store-without-selector": 3,
"no-console": 2,
"react-refresh/only-export-components": 1
}
}