Merge branch 'master' of github.com:atlas-bi/System #49
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
test.yml
on: push
✓ ShellCheck
17s
⬣ ESLint
2m 25s
ʦ TypeScript
2m 28s
⚡ Vitest
1m 44s
⚫️ Cypress
1m 47s
Annotations
22 errors and 10 warnings
✓ ShellCheck
Process completed with exit code 1.
|
⚫️ Cypress
Process completed with exit code 1.
|
⬣ ESLint:
app/components/charts/DateFilter.tsx#L5
'SelectItem' is defined but never used
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L32
Import in body of module; reorder to top
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L33
Import in body of module; reorder to top
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L33
'H2' is defined but never used
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L34
Import in body of module; reorder to top
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L35
Import in body of module; reorder to top
|
⬣ ESLint:
app/components/charts/driveDoughnut.tsx#L23
'drawTotals' is defined but never used
|
⬣ ESLint:
app/components/logTable/table.tsx#L15
'getPaginationRowModel' is defined but never used
|
⬣ ESLint:
app/components/logTable/table.tsx#L31
'MonitorLogs' is defined but never used
|
⬣ ESLint:
app/components/logTable/table.tsx#L38
'DataTableProps' is defined but never used
|
ʦ 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/driveBar.tsx#L1
Module '"@prisma/client"' has no exported member 'Usage'.
|
ʦ TypeScript:
app/components/charts/driveBar.tsx#L63
Parameter 'tooltipItem' implicitly has an 'any' type.
|
ʦ TypeScript:
app/components/charts/driveBar.tsx#L197
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/driveBar.tsx#L197
Type '{ responsive: boolean; maintainAspectRatio: boolean; animation: { duration: number; resize: { duration: number; }; active: { duration: number; }; }; plugins: { title: { display: boolean; }; legend: { display: boolean; }; tooltip: { ...; }; }; scales: { ...; }; }' is not assignable to type '_DeepPartialObject<CoreChartOptions<"line"> & ElementChartOptions<"line"> & PluginChartOptions<"line"> & DatasetChartOptions<"line"> & ScaleChartOptions<...> & LineControllerChartOptions>'.
|
ʦ TypeScript:
app/components/charts/driveBar.tsx#L197
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/driveDoughnut.tsx#L104
Type 'RefObject<Chart<keyof ChartTypeRegistry, (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>>' is not assignable to type 'ForwardedRef<ChartJSOrUndefined<"doughnut", (number | [number, number] | Point | BubbleDataPoint | null)[], unknown>> | undefined'.
|
ʦ TypeScript:
app/components/charts/driveDoughnut.tsx#L115
Type '{ responsive: true; plugins: { tooltip: { enabled: false; }; legend: { display: false; }; }; centerText: () => number | "-1"; rotation: number; circumference: number; animation: { animateScale: false; animateRotate: true; }; redraw: true; cutout: string; transitions: { ...; }; }' is not assignable to type '_DeepPartialObject<CoreChartOptions<"doughnut"> & ElementChartOptions<"doughnut"> & PluginChartOptions<"doughnut"> & DatasetChartOptions<"doughnut"> & ScaleChartOptions<...> & DoughnutControllerChartOptions>'.
|
ʦ TypeScript:
app/components/charts/driveDoughnut.tsx#L145
Property 'centerText' does not exist on type '_DeepPartialObject<CoreChartOptions<keyof ChartTypeRegistry> & ElementChartOptions<keyof ChartTypeRegistry> & PluginChartOptions<...> & DatasetChartOptions<...> & ScaleChartOptions<...>>'.
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L4
Import "ChartData" is only used as types
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L108
React Hook useEffect has missing dependencies: 'url' and 'usageFetcher'. Either include them or remove the dependency array
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L114
React Hook useEffect has a missing dependency: 'emptyDataset'. Either include it or remove the dependency array
|
⬣ ESLint:
app/components/charts/driveBar.tsx#L171
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
|
⬣ ESLint:
app/components/charts/functions.tsx#L1
All imports in the declaration are only used as types. Use `import type`
|
⬣ ESLint:
app/components/logTable/pagination.tsx#L7
All imports in the declaration are only used as types. Use `import type`
|
⬣ ESLint:
app/components/logTable/table.tsx#L4
Imports "ColumnDef", "ColumnFiltersState", "PaginationState", "SortingState" and "VisibilityState" are only used as types
|
⬣ ESLint:
app/components/logTable/table.tsx#L71
React Hook useEffect has missing dependencies: 'logsFetcher', 'pageIndex', 'pageSize', and 'url'. Either include them or remove the dependency array
|