chore(prettier): use svelteStrictMode

This commit is contained in:
Eric Liu 2020-09-04 16:35:49 -07:00
commit 42b8159b1c
182 changed files with 2020 additions and 1912 deletions

View file

@ -46,16 +46,16 @@
: "" + (uiShellAriaLabel || $$props["aria-label"] || platformName);
</script>
<svelte:window bind:innerWidth={winWidth} />
<svelte:window bind:innerWidth="{winWidth}" />
<header role="banner" aria-label={ariaLabel} class:bx--header={true}>
<header role="banner" aria-label="{ariaLabel}" class:bx--header="{true}">
<slot name="skip-to-content" />
{#if winWidth < 1056}
<HamburgerMenu bind:isOpen={isSideNavOpen} />
<HamburgerMenu bind:isOpen="{isSideNavOpen}" />
{/if}
<a {href} class:bx--header__name={true} {...$$restProps} on:click>
<a href="{href}" class:bx--header__name="{true}" {...$$restProps} on:click>
{#if company}
<span class:bx--header__name--prefix={true}>{company}&nbsp;</span>
<span class:bx--header__name--prefix="{true}">{company}&nbsp;</span>
{/if}
<slot name="platform">{platformName}</slot>
</a>