Skip to content

small changes to landing chart #1444

small changes to landing chart

small changes to landing chart #1444

Triggered via pull request June 22, 2023 18:59
Status Failure
Total duration 2m 25s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: pull_request
Matrix: backend
Matrix: frontend
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
frontend (18, 3.10): modules/landing/charts/LandingPageChart.tsx#L43
Replace `·`${value.formattedValue}%·of·baseline·(${LINE_OBJECTS[HEAVY_RAIL_LINES[value.datasetIndex]].name` with `⏎····················`${value.formattedValue}%·of·baseline·(${⏎······················LINE_OBJECTS[HEAVY_RAIL_LINES[value.datasetIndex]].name⏎····················`
frontend (18, 3.10): modules/landing/utils.ts#L1
All imports in the declaration are only used as types. Use `import type`
frontend (18, 3.10)
Process completed with exit code 1.
frontend (18, 3.10): common/api/datadashboard.ts#L100
Unexpected any. Specify a different type
frontend (18, 3.10): common/components/alerts/AlertBar.tsx#L59
exported declaration 'AlertBar' not used within other modules
frontend (18, 3.10): common/components/general/Device/index.tsx#L5
exported declaration 'Device' not used within other modules
frontend (18, 3.10): common/components/graphics/NoDataPlaceholder.tsx#L8
exported declaration 'NoDataPlaceholder' not used within other modules
frontend (18, 3.10): common/components/inputs/DateSelection/DatePickers.tsx#L98
React Hook React.useEffect has a missing dependency: 'date'. Either include it or remove the dependency array
frontend (18, 3.10): common/components/inputs/DateSelection/types/DateSelectionTypes.ts#L3
exported declaration 'DateSelectionInput' not used within other modules
frontend (18, 3.10): common/components/inputs/styles/tailwind.tsx#L3
exported declaration 'formConfig' not used within other modules
frontend (18, 3.10): common/components/inputs/styles/tailwind.tsx#L23
exported declaration 'otherConfig' not used within other modules
frontend (18, 3.10): common/components/inputs/styles/tailwind.tsx#L33
exported declaration 'buttonConfig' not used within other modules