Files
TREK/server/scripts/eslint-baseline.json
T
Maurice 6ce15157a1 test(server): MCP suites run on the booted container and unit suites take services from their module
createTestModule (tests/helpers/test-module.ts) builds a Nest testing module of the domain modules under test over the suite's test db, with a FakeRealtimeService and provider overrides for the collaborators a suite controls. bootTestApp (tests/helpers/test-app.ts) boots AppModule once per file, with recording realtime, fixture storage and an offline geocoder, and the MCP harness takes McpRegistryService from it inside a request context instead of hand-wiring roughly eighty services. The days, day removal and day notes service suites take their subjects from DaysModule and DayNotesModule.
2026-10-10 20:16:11 +02:00

31 lines
907 B
JSON

{
"src": {
"@typescript-eslint/no-explicit-any": 90,
"@typescript-eslint/no-non-null-assertion": 265,
"@typescript-eslint/no-require-imports": 18,
"@typescript-eslint/no-unsafe-function-type": 1,
"@typescript-eslint/no-unused-vars": 36,
"no-await-in-loop": 563,
"no-console": 236,
"no-empty": 6
},
"suppressed": {
"@typescript-eslint/no-explicit-any": 128,
"@typescript-eslint/no-require-imports": 20,
"no-control-regex": 7,
"no-misleading-character-class": 1
},
"tests": {
"@typescript-eslint/no-explicit-any": 1569,
"@typescript-eslint/no-non-null-assertion": 1757,
"@typescript-eslint/no-require-imports": 25,
"@typescript-eslint/no-unsafe-function-type": 7,
"@typescript-eslint/no-unused-vars": 96,
"no-await-in-loop": 459,
"no-console": 18,
"no-empty": 2,
"no-useless-escape": 1,
"prefer-const": 3
}
}