Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(deps): update dependency typescript-eslint to ^8.22.0 (#2149)

homarr-renovate[bot]9d4aea2c4187
diff --git a/apps/nextjs/src/app/[locale]/boards/(content)/_creator.tsx b/apps/nextjs/src/app/[locale]/boards/(content)/_creator.tsx
index 4827a3b1d..1944e3aa8 100644
--- a/apps/nextjs/src/app/[locale]/boards/(content)/_creator.tsx
+++ b/apps/nextjs/src/app/[locale]/boards/(content)/_creator.tsx
@@ -48,11 +48,11 @@ export const createBoardContentPage = <TParams extends Record<string, unknown>>(
return {
title: board.metaTitle ?? createMetaTitle(t("board.content.metaTitle", { boardName: board.name })),
icons: {
- icon: board.faviconImageUrl ? board.faviconImageUrl : undefined,
- apple: board.faviconImageUrl ? board.faviconImageUrl : undefined,
+ icon: board.faviconImageUrl ?? undefined,
+ apple: board.faviconImageUrl ?? undefined,
},
appleWebApp: {
- startupImage: { url: board.faviconImageUrl ? board.faviconImageUrl : "/logo/logo.png" },
+ startupImage: { url: board.faviconImageUrl ?? "/logo/logo.png" },
},
};
} catch (error) {
diff --git a/apps/nextjs/src/app/[locale]/manage/integrations/edit/[id]/_integration-edit-form.tsx b/apps/nextjs/src/app/[locale]/manage/integrations/edit/[id]/_integration-edit-form.tsx
index b1b053e23..dd15d0005 100644
--- a/apps/nextjs/src/app/[locale]/manage/integrations/edit/[id]/_integration-edit-form.tsx
+++ b/apps/nextjs/src/app/[locale]/manage/integrations/edit/[id]/_integration-edit-form.tsx
@@ -70,9 +70,9 @@ export const EditIntegrationForm = ({ integration }: EditIntegrationForm) => {
if (testConnectionError) {
showErrorNotification({
title: t(`integration.testConnection.notification.${testConnectionError.key}.title`),
- message: testConnectionError.message
- ? testConnectionError.message
- : t(`integration.testConnection.notification.${testConnectionError.key}.message`),
+ message:
+ testConnectionError.message ??
+ t(`integration.testConnection.notification.${testConnectionError.key}.message`),
});
return;
}
diff --git a/apps/nextjs/src/app/[locale]/manage/integrations/new/_integration-new-form.tsx b/apps/nextjs/src/app/[locale]/manage/integrations/new/_integration-new-form.tsx
index 5b11392a2..cb286217e 100644
--- a/apps/nextjs/src/app/[locale]/manage/integrations/new/_integration-new-form.tsx
+++ b/apps/nextjs/src/app/[locale]/manage/integrations/new/_integration-new-form.tsx
@@ -63,9 +63,9 @@ export const NewIntegrationForm = ({ searchParams }: NewIntegrationFormProps) =>
if (testConnectionError) {
showErrorNotification({
title: t(`integration.testConnection.notification.${testConnectionError.key}.title`),
- message: testConnectionError.message
- ? testConnectionError.message
- : t(`integration.testConnection.notification.${testConnectionError.key}.message`),
+ message:
+ testConnectionError.message ??
+ t(`integration.testConnection.notification.${testConnectionError.key}.message`),
});
return;
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 11b1e0242..366806c8d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -2024,7 +2024,7 @@ importers:
eslint-plugin-import:
specifier: ^2.31.0
eslint-plugin-jsx-a11y:
specifier: ^6.10.2
version: 6.10.2([email protected])
@@ -2035,8 +2035,8 @@ importers:
specifier: ^5.1.0
version: 5.1.0([email protected])
typescript-eslint:
- specifier: ^8.21.0
+ specifier: ^8.22.0
devDependencies:
'@homarr/prettier-config':
specifier: workspace:^0.1.0
@@ -4552,51 +4552,51 @@ packages:
resolution: {integrity: sha512-4YnrRemBShWRO2QjvUin8ESA41rH+9nQGLUGZV/1IDhi3SL9OhdpNC/MrulTWuptXKwhx/aDxE7toV0f/ypIXQ==}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-4Uta6REnz/xEJMvwf72wdUnC3rr4jAQf5jnTkeRQ9b6soxLxhDEbS/pfMPoJLDfFPNVRdryqWUIV/2GZzDJFZw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-Wy+/sdEH9kI3w9civgACwabHbKl+qIOu0uFZ9IMKzX3Jpv9og0ZBJrZExGrPpFAY7rWsXuxs5e7CPPP17A4eYA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-95OsL6J2BtzoBxHicoXHxgk3z+9P3BEcQTpBKriqiYzLKnM2DeSqs+sndMKdamU8FosiadQFT3D+BSL9EKnAJQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-NzE3aB62fDEaGjaAYZE4LH7I1MUwHooQ98Byq0G0y3kkibPJQIXVUspzlFOmOfHhiDLwKzMlWxaNv+/qcZurJA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -9403,8 +9403,8 @@ packages:
resolution: {integrity: sha512-1HTsf5/QVRmLzcGfldPFvkVsAdi1db1BBKzi7iW3KBUlOICg/nKnFS+jGqDJS3YD8VsWbAh7JiHeBvbsw8RPxA==}
- resolution: {integrity: sha512-txEKYY4XMKwPXxNkN8+AxAdX6iIJAPiJbHE/FpQccs/sxw8Lf26kqwC3cn0xkHlW8kEbLhkhCsjWuMveaY9Rxw==}
+ resolution: {integrity: sha512-Y2rj210FW1Wb6TWXzQc5+P+EWI9/zdS57hLEc0gnyuvdzWo8+Y8brKlbj0muejonhMI/xAZCnZZwjbIfv1CkOw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -12488,14 +12488,14 @@ snapshots:
dependencies:
'@types/node': 22.10.10
dependencies:
'@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/parser': 8.21.0([email protected])([email protected])
- '@typescript-eslint/scope-manager': 8.21.0
- '@typescript-eslint/type-utils': 8.21.0([email protected])([email protected])
- '@typescript-eslint/utils': 8.21.0([email protected])([email protected])
- '@typescript-eslint/visitor-keys': 8.21.0
+ '@typescript-eslint/parser': 8.22.0([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.22.0
+ '@typescript-eslint/type-utils': 8.22.0([email protected])([email protected])
+ '@typescript-eslint/utils': 8.22.0([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 8.22.0
eslint: 9.19.0
graphemer: 1.4.0
ignore: 5.3.2
@@ -12505,27 +12505,27 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/scope-manager': 8.21.0
- '@typescript-eslint/types': 8.21.0
- '@typescript-eslint/typescript-estree': 8.21.0([email protected])
- '@typescript-eslint/visitor-keys': 8.21.0
+ '@typescript-eslint/scope-manager': 8.22.0
+ '@typescript-eslint/types': 8.22.0
+ '@typescript-eslint/typescript-estree': 8.22.0([email protected])
+ '@typescript-eslint/visitor-keys': 8.22.0
debug: 4.4.0
eslint: 9.19.0
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.21.0
- '@typescript-eslint/visitor-keys': 8.21.0
+ '@typescript-eslint/types': 8.22.0
+ '@typescript-eslint/visitor-keys': 8.22.0
dependencies:
- '@typescript-eslint/typescript-estree': 8.21.0([email protected])
- '@typescript-eslint/utils': 8.21.0([email protected])([email protected])
+ '@typescript-eslint/typescript-estree': 8.22.0([email protected])
+ '@typescript-eslint/utils': 8.22.0([email protected])([email protected])
debug: 4.4.0
eslint: 9.19.0
ts-api-utils: 2.0.0([email protected])
@@ -12533,12 +12533,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/types': 8.21.0
- '@typescript-eslint/visitor-keys': 8.21.0
+ '@typescript-eslint/types': 8.22.0
+ '@typescript-eslint/visitor-keys': 8.22.0
debug: 4.4.0
fast-glob: 3.3.2
is-glob: 4.0.3
@@ -12549,20 +12549,20 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@eslint-community/eslint-utils': 4.4.0([email protected])
- '@typescript-eslint/scope-manager': 8.21.0
- '@typescript-eslint/types': 8.21.0
- '@typescript-eslint/typescript-estree': 8.21.0([email protected])
+ '@typescript-eslint/scope-manager': 8.22.0
+ '@typescript-eslint/types': 8.22.0
+ '@typescript-eslint/typescript-estree': 8.22.0([email protected])
eslint: 9.19.0
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.21.0
+ '@typescript-eslint/types': 8.22.0
eslint-visitor-keys: 4.2.0
'@umami/[email protected]': {}
@@ -14226,17 +14226,17 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 8.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 8.22.0([email protected])([email protected])
eslint: 9.19.0
eslint-import-resolver-node: 0.3.9
transitivePeerDependencies:
- supports-color
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.8
@@ -14247,7 +14247,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.19.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -14259,7 +14259,7 @@ snapshots:
string.prototype.trimend: 1.0.8
tsconfig-paths: 3.15.0
optionalDependencies:
- '@typescript-eslint/parser': 8.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 8.22.0([email protected])([email protected])
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
@@ -18032,11 +18032,11 @@ snapshots:
dependencies:
ts-toolbelt: 9.6.0
dependencies:
- '@typescript-eslint/eslint-plugin': 8.21.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
- '@typescript-eslint/parser': 8.21.0([email protected])([email protected])
- '@typescript-eslint/utils': 8.21.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 8.22.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ '@typescript-eslint/parser': 8.22.0([email protected])([email protected])
+ '@typescript-eslint/utils': 8.22.0([email protected])([email protected])
eslint: 9.19.0
typescript: 5.7.3
transitivePeerDependencies:
diff --git a/tooling/eslint/package.json b/tooling/eslint/package.json
index 770161fa9..0ea2a6a35 100644
--- a/tooling/eslint/package.json
+++ b/tooling/eslint/package.json
@@ -24,7 +24,7 @@
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
- "typescript-eslint": "^8.21.0"
+ "typescript-eslint": "^8.22.0"
},
"devDependencies": {
"@homarr/prettier-config": "workspace:^0.1.0",