Fix lint and TypeScript errors blocking CI pipeline #94
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-app#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Related to
forgejo_admin/pal-e-platform #234(parent issue tracking ImagePullBackOff).Repo
forgejo_admin/pal-e-docs-appUser Story
As a developer
I want the CI check+lint stage to pass
So that the Docker image can be built and the pod stops being in ImagePullBackOff
Context
The Woodpecker CI pipeline (#110) fails at the check+lint stage. No Docker image has ever been built for pal-e-docs-app because TypeScript and ESLint errors block the pipeline. The pod is stuck in ImagePullBackOff because Harbor has no image to pull.
Two TypeScript errors (implicit
anyon event parameters) and six ESLint errors (unused imports,SetvsSvelteSet, unused svelte-ignore comment, unused variable) need to be fixed.File Targets
Files the agent should modify:
src/routes/boards/[slug]/+page.svelte-- type theeparameter on lines 826 and 829src/routes/+layout.svelte-- remove unusedcheckAuthimport aliassrc/routes/graph/+page.svelte-- use SvelteSet on lines 91 and 136, remove unused svelte-ignore on line 341src/routes/notes/+page.svelte-- use SvelteSet on line 39src/routes/search/+page.svelte-- remove unusedsearchErrorvariableFiles the agent should NOT touch:
Acceptance Criteria
npm run checkpasses with 0 errorsnpm run lintpasses with 0 errorsTest Expectations
npm run check && npm run lintConstraints
SvelteSetfromsvelte/reactivitywhere the lint rule requires it.Checklist
npm run checkpassesnpm run lintpassesRelated
pal-e-docs-- project this affectsforgejo_admin/pal-e-platform #234-- parent issue