Skip to content

Add a delays page for alert analysis #2202

Add a delays page for alert analysis

Add a delays page for alert analysis #2202

Triggered via pull request September 3, 2024 01:12
Status Failure
Total duration 1m 24s
Artifacts

lint.yml

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

Annotations

7 errors and 12 warnings
frontend (20, 3.12): modules/delays/DelaysDetails.tsx#L6
'Link' is defined but never used
frontend (20, 3.12): modules/delays/DelaysDetails.tsx#L14
`./charts/TotalDelayGraph` import should occur after import of `../../common/components/accordion/Accordion`
frontend (20, 3.12): modules/delays/DelaysDetails.tsx#L15
`./charts/DelayBreakdownGraph` import should occur after import of `../../common/components/accordion/Accordion`
frontend (20, 3.12): modules/delays/DelaysDetails.tsx#L16
`./charts/DelayByCategoryGraph` import should occur after import of `../../common/components/accordion/Accordion`
frontend (20, 3.12): modules/delays/DelaysDetails.tsx#L19
All imports in the declaration are only used as types. Use `import type`
frontend (20, 3.12): modules/ridership/RidershipGraph.tsx#L47
Replace `crRoute·??·line` with `(crRoute·??·line)`
frontend (20, 3.12)
Process completed with exit code 1.
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