gilbarbara/react-range-slider

View on GitHub
src/styles.ts

Summary

Maintainability
A
3 hrs
Test Coverage
A
100%

Function getStyles has 114 lines of code (exceeds 50 allowed). Consider refactoring.
Open

export default function getStyles(styles?: RangeSliderStylesProp): RangeSliderStyles {
  const options: RangeSliderStylesOptions = deepmerge(
    defaultOptions,
    styles ? (styles.options as RangeSliderStylesOptions) : {},
  );
Severity: Major
Found in src/styles.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status