Skip to content

Commit

Permalink
style: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
plibither8 committed Sep 4, 2020
1 parent be9b8ed commit 54db453
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = {
}
}
],
rules: {
settings: {
'svelte3/ignore-styles': () => true
}
}
2 changes: 1 addition & 1 deletion src/components/icons/menu.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
export let strokeColor = "#fff"
export let strokeColor = '#fff'
</script>

<svg
Expand Down
4 changes: 2 additions & 2 deletions src/components/nav.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
import { fade } from 'svelte/transition'
import MenuIcon from '../components/icons/menu.svelte'
let openMenu = false;
let openMenu = false
</script>

<header>
Expand All @@ -17,7 +17,7 @@
</ul>

<button class="menu-btn" role="button" on:click={() => openMenu = !openMenu}>
<MenuIcon strokeColor={"#4b6492"}/>
<MenuIcon strokeColor={'#4b6492'}/>
</button>

{#if openMenu}
Expand Down

0 comments on commit 54db453

Please sign in to comment.