skratchdot/react-bootstrap-daterangepicker

View on GitHub
src/index.stories.js

Summary

Maintainability
B
5 hrs
Test Coverage

File index.stories.js has 296 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import React, { useState, useRef } from 'react';
import jQuery from 'jquery';
import moment from 'moment';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
Severity: Minor
Found in src/index.stories.js - About 3 hrs to fix

    Function StoryComp has 65 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        const StoryComp = () => {
          const changeButtonLabel = text(
            'change button label',
            'change range label'
          );
    Severity: Major
    Found in src/index.stories.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status