ant-design/ant-design

View on GitHub
.dumi/theme/common/styles/Markdown.tsx

Summary

Maintainability
D
2 days
Test Coverage

Function GlobalStyle has 393 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const GlobalStyle: React.FC = () => {
  const token = useTheme();

  const { antCls } = token;

Severity: Major
Found in .dumi/theme/common/styles/Markdown.tsx - About 1 day to fix

    File Markdown.tsx has 400 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import React from 'react';
    import { TinyColor } from '@ctrl/tinycolor';
    import { css, Global } from '@emotion/react';
    import { useTheme } from 'antd-style';
    
    
    Severity: Minor
    Found in .dumi/theme/common/styles/Markdown.tsx - About 5 hrs to fix

      There are no issues that match your filters.

      Category
      Status