.storybook/preview.tsx

Summary

Maintainability
D
1 day
Test Coverage

File preview.tsx has 668 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import React, { useEffect } from 'react';
import { Global } from '@emotion/react';
import isChromatic from 'chromatic/isChromatic';
import { forceVisible } from 'react-lazyload';
import { Preview } from '@storybook/react';
Severity: Major
Found in .storybook/preview.tsx - About 1 day to fix

    Function decorators has 45 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        story => {
          useEffect(() => {
            if (isChromatic()) {
              forceVisible();
            }
    Severity: Minor
    Found in .storybook/preview.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status