summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/Utils.ts
diff options
context:
space:
mode:
authorWolfgang Müller2025-03-26 19:40:28 +0100
committerWolfgang Müller2025-03-26 19:40:28 +0100
commitf8e2f64316354b36099a01eef0735ec0970f5b99 (patch)
tree548c1292db012355a559f1f33500d799f22c2d70 /frontend/src/lib/Utils.ts
parent820d976d9d288c37dcf36cf3227508362dd46dff (diff)
downloadhircine-f8e2f64316354b36099a01eef0735ec0970f5b99.tar.gz
frontend: Migrate to eslint-plugin-svelte 3.0
This includes a migration to a flat eslint.config.js, which will now also automatically ignore items from .gitignore. eslint-plugin-svelte 3.0 comes with a couple of changes to recommended rules as well, these are also addressed in this commit.
Diffstat (limited to 'frontend/src/lib/Utils.ts')
-rw-r--r--frontend/src/lib/Utils.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/frontend/src/lib/Utils.ts b/frontend/src/lib/Utils.ts
index df7dad8..c347544 100644
--- a/frontend/src/lib/Utils.ts
+++ b/frontend/src/lib/Utils.ts
@@ -35,7 +35,6 @@ export function getResultState(state: OperationResultState): ResultState {
if (state.error) {
message = `${state.error.name}: ${state.error.message}`;
} else if (state.data) {
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
const obj = Object.values(state.data)[0];
if (isError(obj)) {
message = obj.message;