Skip to content

Merge branch 'master' of github.com:atlas-bi/System #58

Merge branch 'master' of github.com:atlas-bi/System

Merge branch 'master' of github.com:atlas-bi/System #58

Triggered via push August 3, 2023 14:48
Status Failure
Total duration 2m 19s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 10 warnings
✓ ShellCheck
Process completed with exit code 1.
⚫️ Cypress
Process completed with exit code 1.
ʦ TypeScript: app/components/charts/DateFilter.tsx#L13
Binding element 'value' implicitly has an 'any' type.
ʦ TypeScript: app/components/charts/DateFilter.tsx#L13
Binding element 'onChange' implicitly has an 'any' type.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L42
Property 'mouse' does not exist on type 'TooltipPositionerMap'.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L42
Parameter 'items' implicitly has an 'any' type.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L42
Parameter 'evtPos' implicitly has an 'any' type.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L73
Parameter 'tooltipItem' implicitly has an 'any' type.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L206
Argument of type '{ labels: any; datasets: ({ fill: boolean; label: string; cubicInterpolationMode: string; tension: number; data: any; borderColor: CanvasGradient | undefined; backgroundColor: CanvasGradient | undefined; ... 4 more ...; yAxisID?: undefined; } | { ...; })[]; }' is not assignable to parameter of type 'SetStateAction<ChartData<"bar", (number | [number, number] | null)[], unknown>>'.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L233
Type 'RefObject<Chart<keyof ChartTypeRegistry, (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>>' is not assignable to type 'ForwardedRef<ChartJSOrUndefined<"line", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>> | undefined'.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L233
Type '{ responsive: boolean; maintainAspectRatio: boolean; interaction: { intersect: boolean; mode: string; }; animation: { duration: number; resize: { duration: number; }; active: { duration: number; }; }; plugins: { ...; }; scales: { ...; }; }' is not assignable to type '_DeepPartialObject<CoreChartOptions<"line"> & ElementChartOptions<"line"> & PluginChartOptions<"line"> & DatasetChartOptions<"line"> & ScaleChartOptions<...> & LineControllerChartOptions>'.
ʦ TypeScript: app/components/charts/cpuChart.tsx#L233
Type 'ChartData<"bar", (number | [number, number] | null)[], unknown>' is not assignable to type 'ChartData<"line", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>'.
⬣ ESLint: app/components/charts/DateFilter.tsx#L5
'SelectItem' is defined but never used
⬣ ESLint: app/components/charts/cpuChart.tsx#L3
'bytes' is defined but never used
⬣ ESLint: app/components/charts/cpuChart.tsx#L32
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/cpuChart.tsx#L33
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/cpuChart.tsx#L33
'H2' is defined but never used
⬣ ESLint: app/components/charts/cpuChart.tsx#L34
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/cpuChart.tsx#L35
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/driveChart.tsx#L32
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/driveChart.tsx#L33
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/driveChart.tsx#L34
Import in body of module; reorder to top
⬣ ESLint: app/components/charts/cpuChart.tsx#L4
Import "ChartData" is only used as types
⬣ ESLint: app/components/charts/cpuChart.tsx#L134
React Hook useEffect has missing dependencies: 'url' and 'usageFetcher'. Either include them or remove the dependency array
⬣ ESLint: app/components/charts/cpuChart.tsx#L140
React Hook useEffect has a missing dependency: 'emptyDataset'. Either include it or remove the dependency array
⬣ ESLint: app/components/charts/cpuChart.tsx#L207
React Hook useEffect has a missing dependency: 'getOptions'. Either include it or remove the dependency array
⬣ ESLint: app/components/charts/driveChart.tsx#L4
Import "ChartData" is only used as types
⬣ ESLint: app/components/charts/driveChart.tsx#L114
React Hook useEffect has missing dependencies: 'url' and 'usageFetcher'. Either include them or remove the dependency array
⬣ ESLint: app/components/charts/driveChart.tsx#L120
React Hook useEffect has a missing dependency: 'emptyDataset'. Either include it or remove the dependency array
⬣ ESLint: app/components/charts/driveChart.tsx#L183
React Hook useEffect has a missing dependency: 'getOptions'. Either include it or remove the dependency array
⬣ ESLint: app/components/charts/driveDoughnut.tsx#L3
Import "ChartData" is only used as types
⬣ ESLint: app/components/charts/driveDoughnut.tsx#L99
React Hook useEffect has a missing dependency: 'data'. Either include it or remove the dependency array