Files
TREK/server/scripts/eslint-baseline.json
T
Maurice db0fbc1ccd fix(storage): stop deleting covers, place images and journey photos another row may still show
Replacing a trip or list cover, changing or deleting a place or saved-place
image and deleting a journey photo removed the bytes at once, without asking
whether a trip copy, a journey, a saved place or another photo row still
named them (#2924). Those paths now leave the object in place and the reclaim
job removes it once no row names it. A journey photo the user deletes takes
its local photo row with it when nothing else links it, so its bytes become
reclaimable instead of being kept by a row nobody sees.

A place image copied from a trip file is still dropped at once when the
update that would name it fails: that copy was never anyone else's.

Size and warning baselines follow the shrunk files.
2026-11-01 13:59:28 +01:00

31 lines
907 B
JSON

{
"src": {
"@typescript-eslint/no-explicit-any": 84,
"@typescript-eslint/no-non-null-assertion": 263,
"@typescript-eslint/no-require-imports": 18,
"@typescript-eslint/no-unsafe-function-type": 1,
"@typescript-eslint/no-unused-vars": 36,
"no-await-in-loop": 557,
"no-console": 234,
"no-empty": 6
},
"suppressed": {
"@typescript-eslint/no-explicit-any": 124,
"@typescript-eslint/no-require-imports": 20,
"no-control-regex": 7,
"no-misleading-character-class": 1
},
"tests": {
"@typescript-eslint/no-explicit-any": 1559,
"@typescript-eslint/no-non-null-assertion": 1755,
"@typescript-eslint/no-require-imports": 25,
"@typescript-eslint/no-unsafe-function-type": 7,
"@typescript-eslint/no-unused-vars": 96,
"no-await-in-loop": 452,
"no-console": 18,
"no-empty": 2,
"no-useless-escape": 1,
"prefer-const": 3
}
}