Skip to content

Commit

Permalink
Update mode-watcher-full.svelte
Browse files Browse the repository at this point in the history
move svelte-ignore and eslint comment to same line
  • Loading branch information
jdgamble555 authored Jan 23, 2025
1 parent 4e480e4 commit 30c2f58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/mode-watcher/src/lib/mode-watcher-full.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
<!-- but that snippet does not run in vitest -->
<meta name="theme-color" content={themeColors.dark} />
{/if}
<!-- svelte-ignore hydration_html_changed -->
<!-- eslint-disable-next-line svelte/no-at-html-tags, prefer-template -->
<!-- eslint-disable-next-line svelte/no-at-html-tags, prefer-template --><!-- svelte-ignore hydration_html_changed -->

Check failure on line 17 in packages/mode-watcher/src/lib/mode-watcher-full.svelte

View workflow job for this annotation

GitHub Actions / Lint

svelte-ignore comment is used, but not warned
{@html `<script${trueNonce ? ` nonce=${trueNonce}` : ""}>(` +
setInitialMode.toString() +
`)(` +
Expand Down

0 comments on commit 30c2f58

Please sign in to comment.