iterative/vscode-dvc

View on GitHub
webview/src/plots/components/ribbon/Ribbon.tsx

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Function Ribbon has 74 lines of code (exceeds 40 allowed). Consider refactoring.
Open

export const Ribbon: React.FC = () => {
  const [ref, needsShadow] = useInView({
    root: document.querySelector('#webview-wrapper'),
    rootMargin: '-5px',
    threshold: 0.95
Severity: Major
Found in webview/src/plots/components/ribbon/Ribbon.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status