fix: Resolve svelte-check and SSR build errors in chore/fix-lint-errors#386
Merged
andyparsons merged 2 commits intoMay 1, 2026
Conversation
- Remove unused imports and variables across 17 files
- Replace `any` types with specific inline types for C2PA assertion
accesses, validation status objects, and trust-annotated manifest types
- Fix unused export prop in AssetInfoIssuerDate (let → const)
- Fix svelte-ignore → eslint-disable-next-line for {@html} in IssuedBySection
- Auto-fixed padding, prefer-const, and shorthand attribute violations
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ef04bc6 to
430039f
Compare
788f445 to
b3fd7b9
Compare
b3fd7b9 to
c8b42e4
Compare
andyparsons
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR resolves all 56 TypeScript,
svelte-check, and Vite SSR build errors introduced on thechore/fix-lint-errorsbranch.Key Fixes
intl-messageformatto its ESM bundle file (intl-messageformat.esm.js) to fix the SvelteKit postbuildanalyse.jsnamed export SyntaxError.softwareAgenttype to correctly support string/object structures to fix failing unit tests.differenceimport and thevalidationResultproperty; casts string values to strictTrustSourceunion types.anytype errors across 7 files.With these fixes applied,
svelte-checkpasses with 0 errors and 0 warnings, and the site builds cleanly.