Merge branch 'master' of github.com:atlas-bi/System #120
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
test.yml
on: push
✓ ShellCheck
14s
⬣ ESLint
1m 50s
ʦ TypeScript
1m 50s
⚡ Vitest
1m 39s
⚫️ Cypress
2m 3s
Annotations
23 errors and 10 warnings
✓ ShellCheck
Process completed with exit code 1.
|
⚡ Vitest
Process completed with exit code 1.
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L13
'Dispatch' is defined but never used
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L30
Import in body of module; reorder to top
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L31
Import in body of module; reorder to top
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L31
'H2' 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/databaseMemoryChart.tsx#L32
Import in body of module; reorder to top
|
⬣ ESLint:
app/components/charts/databaseMemoryChart.tsx#L33
Import in body of module; reorder to top
|
⬣ ESLint:
app/components/charts/databaseMemoryChart.tsx#L33
'H2' is defined but never used
|
⬣ ESLint:
app/components/charts/databaseMemoryChart.tsx#L34
Import in body of module; reorder to top
|
ʦ TypeScript:
app/components/charts/cpuChart.tsx#L241
Argument of type '{ datasets: ({ spanGaps: number; fill: boolean | undefined; label: string; cubicInterpolationMode: string; tension: number; data: { x: Date; y: number; }[]; segment: { borderColor: (ctx: { p0: { stop: any; }; p1: { stop: any; };}) => CanvasGradient | ... 1 more ... | undefined; backgroundCo...' is not assignable to parameter of type 'SetStateAction<ChartData<"bar", (number | [number, number] | null)[], unknown>>'.
|
ʦ TypeScript:
app/components/charts/cpuChart.tsx#L244
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#L244
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#L244
Type 'ChartData<"bar", (number | [number, number] | null)[], unknown>' is not assignable to type 'ChartData<"line", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>'.
|
ʦ TypeScript:
app/components/charts/cpuChart.tsx#L311
Type '{ id: string; cpuId: string; createdAt: Date; load: string | null; speed: string | null; }' is missing the following properties from type '{ id: string; createdAt: Date; monitorId: string; hasError: boolean; memoryFree: string | null; memoryTotal: string | null; cpuLoad: string | null; cpuSpeed: string | null; ping: string | null; message: string | null; }[]': length, pop, push, concat, and 29 more.
|
ʦ TypeScript:
app/components/charts/databaseMemoryChart.tsx#L225
Argument of type '{ datasets: { spanGaps: number; fill: boolean; label: string; cubicInterpolationMode: string; tension: number; data: any; segment: { borderColor: (ctx: { p0: { stop: any; }; p1: { stop: any; };}) => CanvasGradient | "transparent" | undefined; backgroundColor: (ctx: { p0: { stop: a...' is not assignable to parameter of type 'SetStateAction<ChartData<"bar", (number | [number, number] | null)[], unknown>>'.
|
ʦ TypeScript:
app/components/charts/databaseMemoryChart.tsx#L245
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/databaseMemoryChart.tsx#L245
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/databaseMemoryChart.tsx#L245
Type 'ChartData<"bar", (number | [number, number] | null)[], unknown>' is not assignable to type 'ChartData<"line", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>'.
|
ʦ TypeScript:
app/components/charts/driveChart.tsx#L236
Argument of type '{ datasets: ({ spanGaps: number; fill: boolean; label: string; cubicInterpolationMode: string; tension: number; data: any; segment: { borderColor: (ctx: { p0: { stop: any; }; p1: { stop: any; };}) => CanvasGradient | "transparent" | undefined; backgroundColor: (ctx: { p0: { stop: ...' is not assignable to parameter of type 'SetStateAction<ChartData<"bar", (number | [number, number] | null)[], unknown>>'.
|
⚫️ Cypress
Process completed with exit code 1.
|
⬣ ESLint:
app/components/charts/DateFilter.tsx#L1
Import "Dispatch" is only used as types
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L2
Import "ChartData" is only used as types
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L145
React Hook useCallback has missing dependencies: 'endDate', 'speed', and 'startDate'. Either include them or remove the dependency array
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L153
React Hook useEffect has a missing dependency: 'emptyDataset'. Either include it or remove the dependency array
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L242
React Hook useEffect has missing dependencies: 'getOptions', 'speed', and 'unit'. Either include them or remove the dependency array
|
⬣ ESLint:
app/components/charts/cpuChart.tsx#L259
React Hook useEffect has missing dependencies: 'url' and 'usageFetcher'. Either include them or remove the dependency array
|
⬣ ESLint:
app/components/charts/databaseMemoryChart.tsx#L3
Import "Unit" is only used as types
|
⬣ ESLint:
app/components/charts/databaseMemoryChart.tsx#L4
Import "ChartData" is only used as types
|
⬣ ESLint:
app/components/charts/databaseMemoryChart.tsx#L123
React Hook useEffect has missing dependencies: 'url' and 'usageFetcher'. Either include them or remove the dependency array
|
⬣ ESLint:
app/components/charts/databaseMemoryChart.tsx#L129
React Hook useEffect has a missing dependency: 'emptyDataset'. Either include it or remove the dependency array
|