Skip to content

Commit

Permalink
test(lint): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Aug 11, 2022
1 parent e357582 commit 7a88371
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/histoire-plugin-svelte/src/client/mount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default _defineComponent({
target = document.createElement('div')
el.value.appendChild(target)

// eslint-disable-next-line new-cap
app = new props.story.file.component({
target,
props: {
Expand Down
1 change: 1 addition & 0 deletions packages/histoire-plugin-svelte/src/client/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default _defineComponent({
target = document.createElement('div')
el.value.appendChild(target)

// eslint-disable-next-line new-cap
app = new props.story.file.component({
target,
props: {
Expand Down
2 changes: 1 addition & 1 deletion packages/histoire-plugin-svelte/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function HstSvelte (): Plugin {
square: '@histoire/plugin-svelte/assets/histoire-svelte.svg',
light: '@histoire/plugin-svelte/assets/histoire-svelte-text.svg',
dark: '@histoire/plugin-svelte/assets/histoire-svelte-text.svg',
}
},
},
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/histoire-plugin-svelte/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sveltePreprocess from 'svelte-preprocess'

export default {
preprocess: sveltePreprocess()
preprocess: sveltePreprocess(),
}

0 comments on commit 7a88371

Please sign in to comment.