airbnb/caravel

View on GitHub
superset-frontend/plugins/plugin-chart-echarts/src/Bubble/transformProps.ts

Summary

Maintainability
B
6 hrs
Test Coverage

Function transformProps has 146 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function transformProps(chartProps: EchartsBubbleChartProps) {
  const { height, width, hooks, queriesData, formData, inContextMenu, theme } =
    chartProps;

  const { data = [] } = queriesData[0];

    Function formatTooltip has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      params: any,
      xAxisLabel: string,
      yAxisLabel: string,
      sizeLabel: string,
      xAxisFormatter: NumberFormatter,

      There are no issues that match your filters.

      Category
      Status