From 519e862daeabe75f8d2624a6b49370aa1fea3021 Mon Sep 17 00:00:00 2001 From: jfrer Date: Fri, 19 Jul 2024 16:13:13 +0200 Subject: [PATCH 1/2] refactor: fix linting errors and warnings --- src/components/Workflows.vue | 6 +++--- src/components/workflows/TrendLegend.vue | 2 +- src/components/workflows/WorkflowsIntroSection.vue | 2 +- src/components/workflows/WorkflowsTable.vue | 2 +- src/components/workflows/WorkflowsTimeline.vue | 8 ++++---- .../workflows/timeline/BaseTimelineDetailedChart.vue | 2 +- src/components/workflows/timeline/MetricAverageChart.vue | 8 ++++---- src/components/workflows/timeline/TimelineItem.vue | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/components/Workflows.vue b/src/components/Workflows.vue index 773a57c..a5ad459 100644 --- a/src/components/Workflows.vue +++ b/src/components/Workflows.vue @@ -11,7 +11,7 @@ import WorkflowsIntroSection from "@/components/workflows/WorkflowsIntroSection.vue" import filtersStore from "@/store/filters-store" import workflowsStore from "@/store/workflows-store" - import type { ReleaseInfo } from "@/types"; + import type { ReleaseInfo } from "@/types" const { t } = useI18n() @@ -70,7 +70,7 @@ return acc }, {}) - workflowsStore.releases = Object.keys(releasesObj).map(key => releasesObj[key]) + workflowsStore.releases = Object.keys(releasesObj).map(key => releasesObj[key] as ReleaseInfo) setEvalColors(workflowsStore.runs) @@ -85,7 +85,7 @@

Disclaimer: This is an experimental view.

- +
diff --git a/src/components/workflows/TrendLegend.vue b/src/components/workflows/TrendLegend.vue index 4cf71bb..a8db9d3 100644 --- a/src/components/workflows/TrendLegend.vue +++ b/src/components/workflows/TrendLegend.vue @@ -1,5 +1,5 @@ diff --git a/src/components/workflows/WorkflowsTable.vue b/src/components/workflows/WorkflowsTable.vue index f42c6f2..429de81 100644 --- a/src/components/workflows/WorkflowsTable.vue +++ b/src/components/workflows/WorkflowsTable.vue @@ -1,5 +1,5 @@