superset-frontend/src/setup/setupColors.ts
Function setupColors
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function setupColors(
extraCategoricalColorSchemeConfigs: ColorSchemeConfig[] = [],
extraSequentialColorSchemeConfigs: SequentialSchemeConfig[] = [],
) {
const extraCategoricalColorSchemes = extraCategoricalColorSchemeConfigs.map(