diff --git a/.eslintrc.cjs b/.eslintrc.cjs index e372d9c..64ca3f1 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -18,5 +18,8 @@ module.exports = { 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'semi': ['error', 'never'], 'object-curly-spacing': ['error', 'always'] + }, + "env": { + "node": true } } diff --git a/src/components/Workflows.vue b/src/components/Workflows.vue index 8c2fd58..8596a2b 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 80ddcce..84694a1 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 23fd93f..b611ffb 100644 --- a/src/components/workflows/WorkflowsTable.vue +++ b/src/components/workflows/WorkflowsTable.vue @@ -1,5 +1,5 @@