Skip to content

feat: add Custom Sections page for managing editorial sections #5366

feat: add Custom Sections page for managing editorial sections

feat: add Custom Sections page for managing editorial sections #5366

Triggered via pull request September 17, 2025 22:23
Status Failure
Total duration 2m 24s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L103
Replace `'ml-2',·'ML·Section·2',·SectionStatus.Scheduled,·futureDate,·null,·ActivitySource.Ml,·[]` with `⏎····'ml-2',⏎····'ML·Section·2',⏎····SectionStatus.Scheduled,⏎····futureDate,⏎····null,⏎····ActivitySource.Ml,⏎····[],⏎··`
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L102
Replace `'ml-1',·'ML·Section·1',·SectionStatus.Live,·pastDate,·null,·ActivitySource.Ml,·[]` with `⏎····'ml-1',⏎····'ML·Section·1',⏎····SectionStatus.Live,⏎····pastDate,⏎····null,⏎····ActivitySource.Ml,⏎····[],⏎··`
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L99
Replace `'expired-2',·'Expired·Section·2',·SectionStatus.Disabled,·farPastDate,·now.minus({·days:·1·}).toISO(),·ActivitySource.Manual,·mockSectionItems` with `⏎····'expired-2',⏎····'Expired·Section·2',⏎····SectionStatus.Disabled,⏎····farPastDate,⏎····now.minus({·days:·1·}).toISO(),⏎····ActivitySource.Manual,⏎····mockSectionItems,⏎··`
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L98
Replace `'expired-1',·'Expired·Section·1',·SectionStatus.Disabled,·farPastDate,·pastDate,·ActivitySource.Manual,·[]` with `⏎····'expired-1',⏎····'Expired·Section·1',⏎····SectionStatus.Disabled,⏎····farPastDate,⏎····pastDate,⏎····ActivitySource.Manual,⏎····[],⏎··`
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L95
Replace `'live-3',·'Live·Section·No·End',·SectionStatus.Live,·pastDate,·null,·ActivitySource.Manual,·mockSectionItems` with `⏎····'live-3',⏎····'Live·Section·No·End',⏎····SectionStatus.Live,⏎····pastDate,⏎····null,⏎····ActivitySource.Manual,⏎····mockSectionItems,⏎··`
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L94
Replace `'live-2',·'Live·Section·2',·SectionStatus.Live,·farPastDate,·null,·ActivitySource.Manual,·[]` with `⏎····'live-2',⏎····'Live·Section·2',⏎····SectionStatus.Live,⏎····farPastDate,⏎····null,⏎····ActivitySource.Manual,⏎····[],⏎··`
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L93
Replace `'live-1',·'Live·Section·1',·SectionStatus.Live,·pastDate,·now.plus({·days:·3·}).toISO(),·ActivitySource.Manual,·mockSectionItems` with `⏎····'live-1',⏎····'Live·Section·1',⏎····SectionStatus.Live,⏎····pastDate,⏎····now.plus({·days:·3·}).toISO(),⏎····ActivitySource.Manual,⏎····mockSectionItems,⏎··`
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L90
Replace `'scheduled-2',·'Scheduled·Section·2',·SectionStatus.Scheduled,·now.plus({·days:·14·}).toISO(),·null,·ActivitySource.Manual,·[]` with `⏎····'scheduled-2',⏎····'Scheduled·Section·2',⏎····SectionStatus.Scheduled,⏎····now.plus({·days:·14·}).toISO(),⏎····null,⏎····ActivitySource.Manual,⏎····[],⏎··`
Lint Code Base: src/curated-corpus/integration-test-mocks/getSectionsWithSectionItems.ts#L89
Replace `'scheduled-1',·'Scheduled·Section·1',·SectionStatus.Scheduled,·futureDate,·null,·ActivitySource.Manual,·mockSectionItems` with `⏎····'scheduled-1',⏎····'Scheduled·Section·1',⏎····SectionStatus.Scheduled,⏎····futureDate,⏎····null,⏎····ActivitySource.Manual,⏎····mockSectionItems,⏎··`