Skip to content

Pc/feat/nav bar update #1750

Pc/feat/nav bar update

Pc/feat/nav bar update #1750

Triggered via pull request October 21, 2023 22:11
Status Failure
Total duration 2m 46s
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

10 errors and 10 warnings
frontend (18, 3.10): common/components/nav/BusSection.tsx#L1
'useState' is defined but never used
frontend (18, 3.10): common/components/nav/BusSection.tsx#L7
Replace `⏎····return·` with `··return·(⏎····`
frontend (18, 3.10): common/components/nav/NavSection.tsx#L1
Replace `"./NavSectionHeader"` with `'./NavSectionHeader';`
frontend (18, 3.10): common/components/nav/NavSection.tsx#L2
'SubwayDropdown' is defined but never used
frontend (18, 3.10): common/components/nav/NavSection.tsx#L2
Replace `"./SubwayDropdown"` with `'./SubwayDropdown';`
frontend (18, 3.10): common/components/nav/NavSection.tsx#L3
'SubwaySection' is defined but never used
frontend (18, 3.10): common/api/datadashboard.ts#L105
Unexpected any. Specify a different type
frontend (18, 3.10): common/api/hooks/dwells.ts#L22
exported declaration 'useDwellsSingleDayData' not used within other modules
frontend (18, 3.10): common/api/hooks/dwells.ts#L32
exported declaration 'useDwellsAggregateData' not used within other modules
frontend (18, 3.10): common/api/hooks/facilities.ts#L5
exported declaration 'useElevatorsAndEscalators' not used within other modules
frontend (18, 3.10): common/api/hooks/headways.ts#L22
exported declaration 'useHeadwaysSingleDayData' not used within other modules
frontend (18, 3.10): common/api/hooks/headways.ts#L32
exported declaration 'useHeadwaysAggregateData' not used within other modules
frontend (18, 3.10): common/api/hooks/traveltimes.ts#L25
exported declaration 'useTravelTimesSingleDayData' not used within other modules
frontend (18, 3.10): common/api/hooks/traveltimes.ts#L38
exported declaration 'useTravelTimesAggregateData' not used within other modules
frontend (18, 3.10): common/api/utils/fetch.ts#L5
Unexpected any. Specify a different type
frontend (18, 3.10): common/components/alerts/LegendAlerts.tsx#L3
exported declaration 'LegendAlerts' not used within other modules