app/javascript/components/impact/chart-elements/chart-config.ts
Function createChartConfig
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function createChartConfig(
data: number[],
labels: string[],
milestones: Milestone[],
dateMap: { [key: string]: number }