High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: eslint 10 (#26490)
Daniel Dietzler55ee9f76dadf
diff --git a/cli/package.json b/cli/package.jsonindex 511ddc5b35..849957ae36 100644--- a/cli/package.json+++ b/cli/package.json@@ -13,7 +13,7 @@"cli"],"devDependencies": {- "@eslint/js": "^9.8.0",+ "@eslint/js": "^10.0.0","@immich/sdk": "workspace:*","@types/byte-size": "^8.1.0","@types/cli-progress": "^3.11.0",@@ -25,7 +25,7 @@"byte-size": "^9.0.0","cli-progress": "^3.12.0","commander": "^12.0.0",- "eslint": "^9.14.0",+ "eslint": "^10.0.0","eslint-config-prettier": "^10.1.8","eslint-plugin-prettier": "^5.1.3","eslint-plugin-unicorn": "^63.0.0",diff --git a/e2e/package.json b/e2e/package.jsonindex b24dc0af42..c61d36aeaf 100644--- a/e2e/package.json+++ b/e2e/package.json@@ -24,7 +24,7 @@"author": "","license": "GNU Affero General Public License version 3","devDependencies": {- "@eslint/js": "^9.8.0",+ "@eslint/js": "^10.0.0","@faker-js/faker": "^10.1.0","@immich/cli": "workspace:*","@immich/e2e-auth-server": "workspace:*",@@ -37,7 +37,7 @@"@types/pngjs": "^6.0.4","@types/supertest": "^6.0.2","dotenv": "^17.2.3",- "eslint": "^9.14.0",+ "eslint": "^10.0.0","eslint-config-prettier": "^10.1.8","eslint-plugin-prettier": "^5.1.3","eslint-plugin-unicorn": "^63.0.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 63e50261fd..64dcd57e92 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -42,8 +42,8 @@ importers:version: 4.0.8devDependencies:'@eslint/js':- specifier: ^9.8.0- version: 9.39.2+ specifier: ^10.0.0+ version: 10.0.1([email protected]([email protected]))'@immich/sdk':specifier: workspace:*version: link:../open-api/typescript-sdk@@ -78,17 +78,17 @@ importers:specifier: ^12.0.0version: 12.1.0eslint:- specifier: ^9.14.0- version: 9.39.2([email protected])+ specifier: ^10.0.0+ version: 10.0.2([email protected])eslint-config-prettier:specifier: ^10.1.8- version: 10.1.8([email protected]([email protected]))+ version: 10.1.8([email protected]([email protected]))eslint-plugin-prettier:specifier: ^5.1.3- version: 5.5.5(@types/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])+ version: 5.5.5(@types/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])eslint-plugin-unicorn:specifier: ^63.0.0- version: 63.0.0([email protected]([email protected]))+ version: 63.0.0([email protected]([email protected]))globals:specifier: ^17.0.0version: 17.3.0@@ -106,7 +106,7 @@ importers:version: 5.9.3typescript-eslint:specifier: ^8.28.0vite:specifier: ^7.0.0version: 7.3.1(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -196,8 +196,8 @@ importers:e2e:devDependencies:'@eslint/js':- specifier: ^9.8.0- version: 9.39.2+ specifier: ^10.0.0+ version: 10.0.1([email protected]([email protected]))'@faker-js/faker':specifier: ^10.1.0version: 10.3.0@@ -235,17 +235,17 @@ importers:specifier: ^17.2.3version: 17.3.1eslint:- specifier: ^9.14.0- version: 9.39.2([email protected])+ specifier: ^10.0.0+ version: 10.0.2([email protected])eslint-config-prettier:specifier: ^10.1.8- version: 10.1.8([email protected]([email protected]))+ version: 10.1.8([email protected]([email protected]))eslint-plugin-prettier:specifier: ^5.1.3- version: 5.5.5(@types/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])+ version: 5.5.5(@types/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])eslint-plugin-unicorn:specifier: ^63.0.0- version: 63.0.0([email protected]([email protected]))+ version: 63.0.0([email protected]([email protected]))exiftool-vendored:specifier: ^34.3.0version: 34.3.0@@ -281,7 +281,7 @@ importers:version: 5.9.3typescript-eslint:specifier: ^8.28.0utimes:specifier: ^5.2.1version: 5.2.1([email protected])@@ -585,8 +585,8 @@ importers:version: 13.15.26devDependencies:'@eslint/js':- specifier: ^9.8.0- version: 9.39.2+ specifier: ^10.0.0+ version: 10.0.1([email protected]([email protected]))'@nestjs/cli':specifier: ^11.0.2@@ -675,17 +675,17 @@ importers:specifier: ^3.0.0version: 3.2.4([email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected]))eslint:- specifier: ^9.14.0- version: 9.39.2([email protected])+ specifier: ^10.0.0+ version: 10.0.2([email protected])eslint-config-prettier:specifier: ^10.1.8- version: 10.1.8([email protected]([email protected]))+ version: 10.1.8([email protected]([email protected]))eslint-plugin-prettier:specifier: ^5.1.3- version: 5.5.5(@types/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])+ version: 5.5.5(@types/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])eslint-plugin-unicorn:specifier: ^63.0.0- version: 63.0.0([email protected]([email protected]))+ version: 63.0.0([email protected]([email protected]))globals:specifier: ^17.0.0version: 17.3.0@@ -721,7 +721,7 @@ importers:version: 5.9.3typescript-eslint:specifier: ^8.28.0unplugin-swc:specifier: ^1.4.5@@ -853,14 +853,14 @@ importers:version: 1.6.32devDependencies:'@eslint/js':- specifier: ^9.36.0- version: 9.39.2+ specifier: ^10.0.0+ version: 10.0.1([email protected]([email protected]))'@faker-js/faker':specifier: ^10.0.0version: 10.3.0'@koddsson/eslint-plugin-tscompat':specifier: ^0.2.0'@socket.io/component-emitter':specifier: ^3.1.0version: 3.1.2@@ -913,20 +913,20 @@ importers:specifier: ^17.0.0version: 17.3.1eslint:- specifier: ^9.36.0- version: 9.39.2([email protected])+ specifier: ^10.0.0+ version: 10.0.2([email protected])eslint-config-prettier:specifier: ^10.1.8- version: 10.1.8([email protected]([email protected]))+ version: 10.1.8([email protected]([email protected]))eslint-plugin-compat:specifier: ^6.0.2- version: 6.2.0([email protected]([email protected]))+ version: 6.2.0([email protected]([email protected]))eslint-plugin-svelte:specifier: ^3.12.4eslint-plugin-unicorn:specifier: ^63.0.0- version: 63.0.0([email protected]([email protected]))+ version: 63.0.0([email protected]([email protected]))factory.ts:specifier: ^1.4.1version: 1.4.2@@ -965,7 +965,7 @@ importers:version: 5.9.3typescript-eslint:specifier: ^8.45.0vite:specifier: ^7.1.2version: 7.3.1(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -2718,33 +2718,34 @@ packages:resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==}engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}- '@eslint/[email protected]':- resolution: {integrity: sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}-- '@eslint/[email protected]':- resolution: {integrity: sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@eslint/[email protected]':+ resolution: {integrity: sha512-YF+fE6LV4v5MGWRGj7G404/OZzGNepVF8fxk7jqmqo3lrza7a0uUcDnROGRBG1WFC1omYUS/Wp1f42i0M+3Q3A==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}- '@eslint/[email protected]':- resolution: {integrity: sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@eslint/[email protected]':+ resolution: {integrity: sha512-a5MxrdDXEvqnIq+LisyCX6tQMPF/dSJpCfBgBauY+pNZ28yCtSsTvyTYrMhaI+LK26bVyCJfJkT0u8KIj2i1dQ==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}- '@eslint/[email protected]':- resolution: {integrity: sha512-Kr+LPIUVKz2qkx1HAMH8q1q6azbqBAsXJUxBl/ODDuVPX45Z9DfwB8tPjTi6nNZ8BuM3nbJxC5zCAg5elnBUTQ==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@eslint/[email protected]':+ resolution: {integrity: sha512-/nr9K9wkr3P1EzFTdFdMoLuo1PmIxjmwvPozwoSodjNBdefGujXQUF93u1DDZpEaTuDvMsIQddsd35BwtrW9Xw==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}- '@eslint/[email protected]':- resolution: {integrity: sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@eslint/[email protected]':+ resolution: {integrity: sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}+ peerDependencies:+ eslint: ^10.0.0+ peerDependenciesMeta:+ eslint:+ optional: true- '@eslint/[email protected]':- resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@eslint/[email protected]':+ resolution: {integrity: sha512-HOy56KJt48Bx8KmJ+XGQNSUMT/6dZee/M54XyUyuvTvPXJmsERRvBchsUVx1UMe1WwIH49XLAczNC7V2INsuUw==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}- '@eslint/[email protected]':- resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ '@eslint/[email protected]':+ resolution: {integrity: sha512-bIZEUzOI1jkhviX2cp5vNyXQc6olzb2ohewQubuYlMXZ2Q/XjBO0x0XhGPvc9fjSIiUN0vw+0hq53BJ4eQSJKQ==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}'@extism/[email protected]':resolution: {integrity: sha512-iQ3mrPKOC0WMZ94fuJrKbJmMyz4LQ9Abf8gd4F5ShxKWa+cRKcVzk0EqRQsp5xXsQ2dO3zJTiA6eTc4Ihf7k+A==}@@ -4850,6 +4851,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}+ '@types/[email protected]':+ resolution: {integrity: sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==}+'@types/[email protected]':resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==}@@ -5381,6 +5385,9 @@ packages:resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}+ resolution: {integrity: sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==}+resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==}@@ -7019,6 +7026,10 @@ packages:resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ resolution: {integrity: sha512-GaUN0sWim5qc8KVErfPBWmc31LEsOkrUJbvJZV+xuL3u2phMUK4HIvXlWAakfC8W4nzlK+chPEAkYOYb5ZScIw==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}+resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -7031,9 +7042,9 @@ packages:resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==}engines: {node: ^20.19.0 || ^22.13.0 || >=24}- resolution: {integrity: sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==}- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ resolution: {integrity: sha512-uYixubwmqJZH+KLVYIVKY1JQt7tysXhtj21WSvjcSmU5SVNzMus1bgLe+pAt816yQ8opKfheVVoPLqvVMGejYw==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}hasBin: truepeerDependencies:jiti: '*'@@ -7052,13 +7063,17 @@ packages:resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}+ resolution: {integrity: sha512-AVHPqQoZYc+RUM4/3Ly5udlZY/U4LS8pIG05jEjWM2lQMU/oaZ7qshzAl2YP1tfNmXfftH3ohurfwNAug+MnsQ==}+ engines: {node: ^20.19.0 || ^22.13.0 || >=24}+resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}engines: {node: '>=4'}hasBin: true- resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==}+ resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==}engines: {node: '>=0.10'}@@ -7519,10 +7534,6 @@ packages:resolution: {integrity: sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==}engines: {node: '>=10'}- resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}- engines: {node: '>=18'}-resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==}engines: {node: '>=18'}@@ -8522,9 +8533,6 @@ packages:resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==}- resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}-resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==}@@ -8951,6 +8959,10 @@ packages:resolution: {integrity: sha512-fu656aJ0n2kcXwsnwnv9g24tkU5uSmOlTjd6WyyaKm2Z+h1qmY6bAjrcaIxF/BslFqbZ8UBtbJi7KgQOZD2PTw==}engines: {node: 20 || >=22}+ resolution: {integrity: sha512-+G4CpNBxa5MprY+04MbgOw1v7So6n5JY166pFi9KfYwT78fxScCeSNQSNzp6dpPSW2rONOps6Ocam1wFhCgoVw==}+ engines: {node: 18 || 20 || >=22}+resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}@@ -14574,50 +14586,38 @@ snapshots:'@esbuild/[email protected]':optional: truedependencies:- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])eslint-visitor-keys: 3.4.3'@eslint-community/[email protected]': {}- '@eslint/[email protected]':+ '@eslint/[email protected]':dependencies:- '@eslint/object-schema': 2.1.7+ '@eslint/object-schema': 3.0.2debug: 4.4.3- minimatch: 3.1.2+ minimatch: 10.2.2transitivePeerDependencies:- supports-color- '@eslint/[email protected]':+ '@eslint/[email protected]':dependencies:- '@eslint/core': 0.17.0+ '@eslint/core': 1.1.0- '@eslint/[email protected]':+ '@eslint/[email protected]':dependencies:'@types/json-schema': 7.0.15- '@eslint/[email protected]':- dependencies:- ajv: 6.12.6- debug: 4.4.3- espree: 10.4.0- globals: 14.0.0- ignore: 5.3.2- import-fresh: 3.3.1- js-yaml: 4.1.1- minimatch: 3.1.2- strip-json-comments: 3.1.1- transitivePeerDependencies:- - supports-color-- '@eslint/[email protected]': {}+ optionalDependencies:+ eslint: 10.0.2([email protected])- '@eslint/[email protected]': {}+ '@eslint/[email protected]': {}- '@eslint/[email protected]':+ '@eslint/[email protected]':dependencies:- '@eslint/core': 0.17.0+ '@eslint/core': 1.1.0levn: 0.4.1'@extism/[email protected]': {}@@ -15151,11 +15151,11 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:'@mdn/browser-compat-data': 6.1.5browserslist: 4.28.1transitivePeerDependencies:- eslint@@ -16794,6 +16794,8 @@ snapshots:'@types/estree': 1.0.8'@types/json-schema': 7.0.15+ '@types/[email protected]': {}+'@types/[email protected]':dependencies:'@types/estree': 1.0.8@@ -17127,15 +17129,15 @@ snapshots:dependencies:'@types/yargs-parser': 21.0.3- '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':+ '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':dependencies:'@eslint-community/regexpp': 4.12.2'@typescript-eslint/scope-manager': 8.56.0'@typescript-eslint/visitor-keys': 8.56.0- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])ignore: 7.0.5natural-compare: 1.4.0ts-api-utils: 2.4.0([email protected])@@ -17143,14 +17145,14 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:'@typescript-eslint/scope-manager': 8.56.0'@typescript-eslint/types': 8.56.0'@typescript-eslint/typescript-estree': 8.56.0([email protected])'@typescript-eslint/visitor-keys': 8.56.0debug: 4.4.3- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])typescript: 5.9.3transitivePeerDependencies:- supports-color@@ -17173,13 +17175,13 @@ snapshots:dependencies:typescript: 5.9.3dependencies:'@typescript-eslint/types': 8.56.0'@typescript-eslint/typescript-estree': 8.56.0([email protected])debug: 4.4.3- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])ts-api-utils: 2.4.0([email protected])typescript: 5.9.3transitivePeerDependencies:@@ -17202,13 +17204,13 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:- '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))'@typescript-eslint/scope-manager': 8.56.0'@typescript-eslint/types': 8.56.0'@typescript-eslint/typescript-estree': 8.56.0([email protected])- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])typescript: 5.9.3transitivePeerDependencies:- supports-color@@ -17482,6 +17484,13 @@ snapshots:json-schema-traverse: 0.4.1uri-js: 4.4.1+ dependencies:+ fast-deep-equal: 3.1.3+ fast-json-stable-stringify: 2.1.0+ json-schema-traverse: 0.4.1+ uri-js: 4.4.1+dependencies:fast-deep-equal: 3.1.3@@ -19239,37 +19248,37 @@ snapshots:dependencies:- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])dependencies:'@mdn/browser-compat-data': 6.1.5ast-metadata-inferer: 0.8.1browserslist: 4.28.1caniuse-lite: 1.0.30001774- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])find-up: 5.0.0globals: 15.15.0lodash.memoize: 4.1.2semver: 7.7.4- [email protected](@types/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected]):+ [email protected](@types/[email protected])([email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected]):dependencies:- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])prettier: 3.8.1prettier-linter-helpers: 1.0.1synckit: 0.11.12optionalDependencies:'@types/eslint': 9.6.1- eslint-config-prettier: 10.1.8([email protected]([email protected]))+ eslint-config-prettier: 10.1.8([email protected]([email protected]))dependencies:- '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))'@jridgewell/sourcemap-codec': 1.5.5- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])esutils: 2.0.3globals: 16.5.0known-css-properties: 0.37.0@@ -19283,15 +19292,15 @@ snapshots:transitivePeerDependencies:- ts-nodedependencies:'@babel/helper-validator-identifier': 7.28.5- '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))change-case: 5.4.4ci-info: 4.3.1clean-regexp: 1.0.0core-js-compat: 3.47.0- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])find-up-simple: 1.0.1globals: 16.5.0indent-string: 5.0.0@@ -19313,35 +19322,39 @@ snapshots:esrecurse: 4.3.0estraverse: 5.3.0+ dependencies:+ '@types/esrecurse': 4.3.1+ '@types/estree': 1.0.8+ esrecurse: 4.3.0+ estraverse: 5.3.0+dependencies:- '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))'@eslint-community/regexpp': 4.12.2- '@eslint/config-array': 0.21.1- '@eslint/config-helpers': 0.4.2- '@eslint/core': 0.17.0- '@eslint/eslintrc': 3.3.3- '@eslint/js': 9.39.2- '@eslint/plugin-kit': 0.4.1+ '@eslint/config-array': 0.23.2+ '@eslint/config-helpers': 0.5.2+ '@eslint/core': 1.1.0+ '@eslint/plugin-kit': 0.6.0'@humanfs/node': 0.16.7'@humanwhocodes/module-importer': 1.0.1'@humanwhocodes/retry': 0.4.3'@types/estree': 1.0.8- ajv: 6.12.6- chalk: 4.1.2+ ajv: 6.14.0cross-spawn: 7.0.6debug: 4.4.3escape-string-regexp: 4.0.0- eslint-scope: 8.4.0- eslint-visitor-keys: 4.2.1- espree: 10.4.0- esquery: 1.6.0+ eslint-scope: 9.1.1+ eslint-visitor-keys: 5.0.1+ espree: 11.1.1+ esquery: 1.7.0esutils: 2.0.3fast-deep-equal: 3.1.3file-entry-cache: 8.0.0@@ -19351,8 +19364,7 @@ snapshots:imurmurhash: 0.1.4is-glob: 4.0.3json-stable-stringify-without-jsonify: 1.0.1- lodash.merge: 4.6.2- minimatch: 3.1.2+ minimatch: 10.2.2natural-compare: 1.4.0optionator: 0.9.4optionalDependencies:@@ -19375,9 +19387,15 @@ snapshots:acorn-jsx: 5.3.2([email protected])eslint-visitor-keys: 4.2.1+ dependencies:+ acorn: 8.16.0+ acorn-jsx: 5.3.2([email protected])+ eslint-visitor-keys: 5.0.1+dependencies:estraverse: 5.3.0@@ -19942,8 +19960,6 @@ snapshots:dependencies:ini: 2.0.0- [email protected]: {}-@@ -21063,8 +21079,6 @@ snapshots:- [email protected]: {}-@@ -21805,6 +21819,10 @@ snapshots:dependencies:'@isaacs/brace-expansion': 5.0.1+ dependencies:+ brace-expansion: 5.0.3+dependencies:brace-expansion: 1.1.12@@ -24791,13 +24809,13 @@ snapshots:dependencies:- '@typescript-eslint/eslint-plugin': 8.56.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ '@typescript-eslint/eslint-plugin': 8.56.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@typescript-eslint/typescript-estree': 8.56.0([email protected])- eslint: 9.39.2([email protected])+ eslint: 10.0.2([email protected])typescript: 5.9.3transitivePeerDependencies:- supports-colordiff --git a/server/package.json b/server/package.jsonindex 53f01f97bc..06dabf2fbc 100644--- a/server/package.json+++ b/server/package.json@@ -117,7 +117,7 @@"validator": "^13.12.0"},"devDependencies": {- "@eslint/js": "^9.8.0",+ "@eslint/js": "^10.0.0","@nestjs/cli": "^11.0.2","@nestjs/schematics": "^11.0.0","@nestjs/testing": "^11.0.4",@@ -147,7 +147,7 @@"@types/ua-parser-js": "^0.7.36","@types/validator": "^13.15.2","@vitest/coverage-v8": "^3.0.0",- "eslint": "^9.14.0",+ "eslint": "^10.0.0","eslint-config-prettier": "^10.1.8","eslint-plugin-prettier": "^5.1.3","eslint-plugin-unicorn": "^63.0.0",diff --git a/server/src/repositories/config.repository.ts b/server/src/repositories/config.repository.tsindex 957a308e7d..7e8082a582 100644--- a/server/src/repositories/config.repository.ts+++ b/server/src/repositories/config.repository.ts@@ -185,7 +185,7 @@ const getEnv = (): EnvData => {try {redisConfig = JSON.parse(Buffer.from(redisUrl.slice(10), 'base64').toString());} catch (error) {- throw new Error(`Failed to decode redis options: ${error}`);+ throw new Error('Failed to decode redis options', { cause: error });}}diff --git a/server/src/repositories/server-info.repository.ts b/server/src/repositories/server-info.repository.tsindex 4500094899..934706d5e1 100644--- a/server/src/repositories/server-info.repository.ts+++ b/server/src/repositories/server-info.repository.ts@@ -69,7 +69,7 @@ export class ServerInfoRepository {return response.json();} catch (error) {- throw new Error(`Failed to fetch GitHub release: ${error}`);+ throw new Error('Failed to fetch GitHub release', { cause: error });}}diff --git a/server/src/services/metadata.service.ts b/server/src/services/metadata.service.tsindex 983d905aad..7c8e5d2906 100644--- a/server/src/services/metadata.service.ts+++ b/server/src/services/metadata.service.ts@@ -169,7 +169,7 @@ export class MetadataService extends BaseService {this.logger.log(`Initialized local reverse geocoder`);} catch (error: Error | any) {this.logger.error(`Unable to initialize reverse geocoding: ${error}`, error?.stack);- throw new Error(`Metadata service init failed`);+ throw new Error('Metadata service init failed', { cause: error });}}diff --git a/server/src/services/notification-admin.service.ts b/server/src/services/notification-admin.service.tsindex bf0d2bba41..2fc4584dca 100644--- a/server/src/services/notification-admin.service.ts+++ b/server/src/services/notification-admin.service.ts@@ -59,7 +59,7 @@ export class NotificationAdminService extends BaseService {async getTemplate(name: EmailTemplate, customTemplate: string) {const { server, templates } = await this.getConfig({ withCache: false });- let templateResponse = '';+ let templateResponse: string;switch (name) {case EmailTemplate.WELCOME: {diff --git a/server/src/services/notification.service.ts b/server/src/services/notification.service.tsindex ee87fcf775..9f11d19af7 100644--- a/server/src/services/notification.service.ts+++ b/server/src/services/notification.service.ts@@ -134,7 +134,7 @@ export class NotificationService extends BaseService {}} catch (error: Error | any) {this.logger.error(`Failed to validate SMTP configuration: ${error}`, error?.stack);- throw new Error(`Invalid SMTP configuration: ${error}`);+ throw new Error('Invalid SMTP configuration', { cause: error });}}diff --git a/server/src/services/storage-template.service.ts b/server/src/services/storage-template.service.tsindex d5020a9c5e..a8f4e6a185 100644--- a/server/src/services/storage-template.service.ts+++ b/server/src/services/storage-template.service.ts@@ -125,7 +125,7 @@ export class StorageTemplateService extends BaseService {});} catch (error) {this.logger.warn(`Storage template validation failed: ${JSON.stringify(error)}`);- throw new Error(`Invalid storage template: ${error}`);+ throw new Error('Invalid storage template', { cause: error });}}diff --git a/web/package.json b/web/package.jsonindex a2b6175946..03ccb35d7e 100644--- a/web/package.json+++ b/web/package.json@@ -65,7 +65,7 @@"uplot": "^1.6.32"},"devDependencies": {- "@eslint/js": "^9.36.0",+ "@eslint/js": "^10.0.0","@faker-js/faker": "^10.0.0","@koddsson/eslint-plugin-tscompat": "^0.2.0","@socket.io/component-emitter": "^3.1.0",@@ -85,7 +85,7 @@"@types/qrcode": "^1.5.5","@vitest/coverage-v8": "^3.0.0","dotenv": "^17.0.0",- "eslint": "^9.36.0",+ "eslint": "^10.0.0","eslint-config-prettier": "^10.1.8","eslint-plugin-compat": "^6.0.2","eslint-plugin-svelte": "^3.12.4",diff --git a/web/src/lib/components/album-page/albums-list.svelte b/web/src/lib/components/album-page/albums-list.svelteindex 5fba526521..7c3e2facb4 100644--- a/web/src/lib/components/album-page/albums-list.svelte+++ b/web/src/lib/components/album-page/albums-list.svelte@@ -46,6 +46,7 @@userSettings,allowEdit = false,showOwner = false,+ // eslint-disable-next-line no-useless-assignmentalbumGroupIds = $bindable([]),empty,}: Props = $props();diff --git a/web/src/lib/components/asset-viewer/asset-viewer.svelte b/web/src/lib/components/asset-viewer/asset-viewer.svelteindex b09c663aaf..21077c63ae 100644--- a/web/src/lib/components/asset-viewer/asset-viewer.svelte+++ b/web/src/lib/components/asset-viewer/asset-viewer.svelte@@ -223,7 +223,7 @@}void tracker.invoke(async () => {- let hasNext = false;+ let hasNext: boolean;if ($slideshowState === SlideshowState.PlaySlideshow && $slideshowNavigation === SlideshowNavigation.Shuffle) {hasNext = order === 'previous' ? slideshowHistory.previous() : slideshowHistory.next();diff --git a/web/src/lib/components/asset-viewer/editor/transform-tool/transform-tool.svelte b/web/src/lib/components/asset-viewer/editor/transform-tool/transform-tool.svelteindex 62c5c771a9..ed9f854bb9 100644--- a/web/src/lib/components/asset-viewer/editor/transform-tool/transform-tool.svelte+++ b/web/src/lib/components/asset-viewer/editor/transform-tool/transform-tool.svelte@@ -42,16 +42,7 @@}function ratioSelected(ratio: AspectRatioOption): boolean {- let currentRatioRotated;- if (ratio.value === 'original') {- const { width, height } = transformManager.cropImageSize;- // Account for rotation when comparing to original- if (isRotated) {- currentRatioRotated = `${height}:${width}`;- }- currentRatioRotated = `${width}:${height}`;- }- currentRatioRotated = rotatedRatio(ratio);+ const currentRatioRotated = rotatedRatio(ratio);return transformManager.cropAspectRatio === currentRatioRotated;}diff --git a/web/src/lib/components/faces-page/people-search.svelte b/web/src/lib/components/faces-page/people-search.svelteindex 2408dea7f6..b9ceac52fe 100644--- a/web/src/lib/components/faces-page/people-search.svelte+++ b/web/src/lib/components/faces-page/people-search.svelte@@ -47,6 +47,7 @@let {searchName = $bindable(),+ // eslint-disable-next-line no-useless-assignmentsearchedPeopleLocal = $bindable(),type,numberPeopleToSearch = maximumLengthSearchPeople,diff --git a/web/src/lib/components/memory-page/memory-viewer.svelte b/web/src/lib/components/memory-page/memory-viewer.svelteindex 49fb7fa6b9..58e975a75a 100644--- a/web/src/lib/components/memory-page/memory-viewer.svelte+++ b/web/src/lib/components/memory-page/memory-viewer.svelte@@ -277,7 +277,7 @@afterNavigate(({ from, to }) => {memoryStore.ready().then(() => {- let target = null;+ let target;if (to?.params?.assetId) {target = to;} else if (from?.params?.assetId) {diff --git a/web/src/lib/components/places-page/places-list.svelte b/web/src/lib/components/places-page/places-list.svelteindex bcb90cb18e..f0b34eff70 100644--- a/web/src/lib/components/places-page/places-list.svelte+++ b/web/src/lib/components/places-page/places-list.svelte@@ -21,8 +21,10 @@let {places = $bindable([]),searchQuery = '',+ // eslint-disable-next-line no-useless-assignmentsearchResultCount = $bindable(0),userSettings,+ // eslint-disable-next-line no-useless-assignmentplacesGroupIds = $bindable([]),}: Props = $props();diff --git a/web/src/lib/components/timeline/Scrubber.svelte b/web/src/lib/components/timeline/Scrubber.svelteindex 17cde24a3f..c6f81eb1ce 100644--- a/web/src/lib/components/timeline/Scrubber.svelte+++ b/web/src/lib/components/timeline/Scrubber.svelte@@ -50,6 +50,7 @@onScrubKeyDown = undefined,startScrub = undefined,stopScrub = undefined,+ // eslint-disable-next-line no-useless-assignmentscrubberWidth = $bindable(),}: Props = $props();diff --git a/web/src/lib/components/timeline/Timeline.svelte b/web/src/lib/components/timeline/Timeline.svelteindex 04f833e87a..609b5fdc13 100644--- a/web/src/lib/components/timeline/Timeline.svelte+++ b/web/src/lib/components/timeline/Timeline.svelte@@ -332,7 +332,7 @@const monthsLength = timelineManager.months.length;for (let i = -1; i < monthsLength + 1; i++) {let monthGroup: ViewportTopMonth;- let monthGroupHeight = 0;+ let monthGroupHeight: number;if (i === -1) {// lead-inmonthGroup = 'lead-in';diff --git a/web/src/lib/components/timeline/TimelineAssetViewer.svelte b/web/src/lib/components/timeline/TimelineAssetViewer.svelteindex 628c501397..bd4ead6def 100644--- a/web/src/lib/components/timeline/TimelineAssetViewer.svelte+++ b/web/src/lib/components/timeline/TimelineAssetViewer.svelte@@ -32,6 +32,7 @@let {timelineManager,+ // eslint-disable-next-line no-useless-assignmentinvisible = $bindable(false),removeAction,withStacked = false,diff --git a/web/src/lib/managers/edit/transform-manager.svelte.ts b/web/src/lib/managers/edit/transform-manager.svelte.tsindex 341eb3aa88..73c86c7584 100644--- a/web/src/lib/managers/edit/transform-manager.svelte.ts+++ b/web/src/lib/managers/edit/transform-manager.svelte.ts@@ -1004,7 +1004,7 @@ class TransformManager implements EditToolManager {];}- let cursorName = '';+ let cursorName: string;if (onTopLeftCorner || onBottomRightCorner) {cursorName = 'nwse-resize';} else if (onTopRightCorner || onBottomLeftCorner) {diff --git a/web/src/lib/managers/timeline-manager/internal/search-support.svelte.ts b/web/src/lib/managers/timeline-manager/internal/search-support.svelte.tsindex 7082673700..f881c6e7fc 100644--- a/web/src/lib/managers/timeline-manager/internal/search-support.svelte.ts+++ b/web/src/lib/managers/timeline-manager/internal/search-support.svelte.ts@@ -122,6 +122,7 @@ export async function retrieveRange(timelineManager: TimelineManager, start: Assconst assetOrder: AssetOrder = timelineManager.getAssetOrder();if (plainDateTimeCompare(assetOrder === AssetOrder.Desc, startAsset.localDateTime, endAsset.localDateTime) < 0) {[startAsset, endAsset] = [endAsset, startAsset];+ // eslint-disable-next-line no-useless-assignment[startMonthGroup, endMonthGroup] = [endMonthGroup, startMonthGroup];}