Skip to content

Service page improvements #2207

Service page improvements

Service page improvements #2207

Triggered via pull request September 13, 2024 00:50
Status Success
Total duration 1m 59s
Artifacts

lint.yml

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

Annotations

12 warnings
backend (20, 3.12)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
frontend (20, 3.12)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
frontend (20, 3.12): common/api/datadashboard.ts#L18
exported declaration 'fetchSingleDayData' not used within other modules
frontend (20, 3.12): common/api/datadashboard.ts#L44
exported declaration 'fetchAggregateData' not used within other modules
frontend (20, 3.12): common/api/datadashboard.ts#L105
Unexpected any. Specify a different type
frontend (20, 3.12): common/api/facilities.ts#L6
exported declaration 'fetchAllElevatorsAndEscalators' not used within other modules
frontend (20, 3.12): common/api/utils/fetch.ts#L5
Unexpected any. Specify a different type
frontend (20, 3.12): common/components/buttons/DonateButton.tsx#L7
'hovered' is assigned a value but never used
frontend (20, 3.12): common/components/buttons/DownloadButton.tsx#L13
Unexpected any. Specify a different type
frontend (20, 3.12): common/components/charts/ByHourHistogram/styles.ts#L3
exported declaration 'defaultStyle' not used within other modules
frontend (20, 3.12): common/components/charts/Legend.tsx#L34
'showUnderRatio' is assigned a value but never used
frontend (20, 3.12): common/components/charts/SingleChartWrapper.tsx#L19
exported declaration 'SingleChartWrapper' not used within other modules