airbnb/caravel

View on GitHub
superset-frontend/src/setup/setupColors.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function setupColors has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function setupColors(
  extraCategoricalColorSchemeConfigs: ColorSchemeConfig[] = [],
  extraSequentialColorSchemeConfigs: SequentialSchemeConfig[] = [],
) {
  const extraCategoricalColorSchemes = extraCategoricalColorSchemeConfigs.map(
Severity: Minor
Found in superset-frontend/src/setup/setupColors.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status