lint: add svelte-ignore comments for @html tags (17 fixes)

Co-Authored-By: Justin Edmund <justin@jedmund.com>
This commit is contained in:
Devin AI 2025-11-24 05:43:42 +00:00
parent 903308ce3f
commit 3b46df5c7b
15 changed files with 17 additions and 0 deletions

View file

@ -3,6 +3,7 @@
</script>
<div class="avatar-simple">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html jedmundIcon}
</div>

View file

@ -65,6 +65,7 @@
{#if renderedContent}
<div class="post-body">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html renderedContent}
</div>
{/if}

View file

@ -39,6 +39,7 @@
{/if}
<div class="post-body">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html post.content}
</div>

View file

@ -15,6 +15,7 @@
{#if project.caseStudyContent && project.caseStudyContent.content && project.caseStudyContent.content.length > 0}
<div class="case-study-section">
<div class="case-study-content">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html renderEdraContent(project.caseStudyContent)}
</div>
</div>

View file

@ -133,6 +133,7 @@
<div class="project-logo" style="background-color: {backgroundColor}">
{#if svgContent}
<div bind:this={logoElement} class="logo-svg" style="transform: {logoTransform}">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html svgContent}
</div>
{:else if logoUrl}
@ -146,6 +147,7 @@
{/if}
</div>
<div class="project-content">
<!-- svelte-ignore svelte/no-at-html-tags -->
<p class="project-description">{@html highlightedDescription}</p>
{#if isListOnly}

View file

@ -83,6 +83,7 @@
{#if post.postType === 'essay'}
<p>{getContentExcerpt(post.content, 300)}</p>
{:else}
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html renderEdraContent(post.content)}
{/if}
</div>

View file

@ -57,6 +57,7 @@
New Post
{#snippet icon()}
<div class="chevron">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html ChevronDownIcon}
</div>
{/snippet}

View file

@ -54,6 +54,7 @@
{:else if showLogo}
<!-- Show placeholder when logo toggle is on but no logo provided -->
<div class="preview-placeholder">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html placeholderIcon}
</div>
{/if}

View file

@ -53,6 +53,7 @@
{/each}
</select>
<div class="select-icon">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html ChevronDownIcon}
</div>
</div>

View file

@ -35,6 +35,7 @@
<svelte:head>
<!-- Site-wide JSON-LD -->
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html personJsonLdScript}
</svelte:head>

View file

@ -142,6 +142,7 @@
<!-- JSON-LD -->
{#if galleryJsonLdScript}
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html galleryJsonLdScript}
{/if}
</svelte:head>
@ -163,6 +164,7 @@
{#if album.content}
<div class="album-content">
<div class="edra-rendered-content">
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html renderEdraContent(album.content, { albumSlug: album.slug })}
</div>
</div>

View file

@ -79,6 +79,7 @@
<!-- JSON-LD -->
{#if projectJsonLdScript}
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html projectJsonLdScript}
{/if}
</svelte:head>

View file

@ -357,6 +357,7 @@
<!-- JSON-LD -->
{#if photoJsonLdScript}
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html photoJsonLdScript}
{/if}
</svelte:head>

View file

@ -87,6 +87,7 @@
<!-- JSON-LD -->
{#if articleJsonLdScript}
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html articleJsonLdScript}
{/if}
</svelte:head>

View file

@ -117,6 +117,7 @@
<!-- JSON-LD -->
{#if projectJsonLdScript}
<!-- svelte-ignore svelte/no-at-html-tags -->
{@html projectJsonLdScript}
{/if}
</svelte:head>