gilbarbara/react-range-slider

View on GitHub

Showing 2 of 2 total issues

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

    Function render has 90 lines of code (exceeds 50 allowed). Consider refactoring.
    Open

      public render() {
        const { axis, className, xMax, xMin, yMax, yMin } = this.props;
        const rest = removeProperties(
          this.props,
          'axis',
    Severity: Major
    Found in src/index.tsx - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language