mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +00:00
e5a5d167af
The client has had lint:size since #2612, the server had nothing, and the server is where the biggest files live: maps.service.ts holds 3231 lines and grew by 200 in a month, and nine more services are past 1100. scripts/size-lint.mjs carries the client's semantics over to src/ and scripts/: a file may hold 1000 lines, the 23 that already hold more are pinned at today's length in scripts/size-baseline.json, and --update only ever lowers an entry. A line past prettier's 120 columns counts once per 120 columns it spans, so joining lines does not make room under the limit. The check fails closed: a missing or malformed baseline or a missing src/ stops it instead of passing with nothing checked.
26 lines
1.1 KiB
JSON
26 lines
1.1 KiB
JSON
{
|
|
"scripts/db-call-graph.mjs": 1036,
|
|
"scripts/generate-entities.ts": 2186,
|
|
"src/db/dialect/sql-functions.ts": 1007,
|
|
"src/db/repositories/DayAssignments.repository.ts": 1030,
|
|
"src/db/repositories/Places.repository.ts": 1483,
|
|
"src/db/repositories/Reservations.repository.ts": 1806,
|
|
"src/db/repositories/Trips.repository.ts": 1145,
|
|
"src/db/repositories/Users.repository.ts": 1679,
|
|
"src/nest/atlas/atlas-geo.ts": 1005,
|
|
"src/nest/atlas/atlas.service.ts": 1182,
|
|
"src/nest/auth/auth.service.ts": 1161,
|
|
"src/nest/budget/budget.service.ts": 1703,
|
|
"src/nest/collections/collections.service.ts": 1488,
|
|
"src/nest/doc-sync/doc-sync.service.ts": 1060,
|
|
"src/nest/doc-sync/providers/synology-drive.client.ts": 1160,
|
|
"src/nest/journey/journey-domain.service.ts": 1806,
|
|
"src/nest/maps/maps.service.ts": 3252,
|
|
"src/nest/places/places.service.ts": 2022,
|
|
"src/nest/plugins/plugin-runtime.service.ts": 1472,
|
|
"src/nest/plugins/runtime/plugin-sdk.ts": 1094,
|
|
"src/nest/reservations/reservations.service.ts": 1248,
|
|
"src/nest/trips/trips.service.ts": 1014,
|
|
"src/nest/vacay/vacay.service.ts": 1442
|
|
}
|