fbredius/storybook

View on GitHub
addons/docs/src/frameworks/svelte/svelte-docgen-loader.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function svelteDocgen has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default async function svelteDocgen(source: string) {
  // eslint-disable-next-line no-underscore-dangle
  const { resource } = this._module;
  const svelteOptions: any = { ...getOptions(this) };

Severity: Minor
Found in addons/docs/src/frameworks/svelte/svelte-docgen-loader.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status