airbnb/caravel

View on GitHub
superset-frontend/packages/superset-ui-core/src/chart/models/ChartProps.ts

Summary

Maintainability
B
4 hrs
Test Coverage

Function create has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

ChartProps.createSelector = function create(): ChartPropsSelector {
  return createSelector(
    (input: ChartPropsConfig) => input.annotationData,
    input => input.datasource,
    input => input.formData,

    Function constructor has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      constructor(config: ChartPropsConfig & { formData?: FormData } = {}) {
        const {
          annotationData = {},
          datasource = {},
          formData = {} as FormData,

      There are no issues that match your filters.

      Category
      Status