airbnb/caravel

View on GitHub
superset-frontend/src/explore/components/controls/AnnotationLayerControl/index.tsx

Summary

Maintainability
B
4 hrs
Test Coverage

File index.tsx has 267 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file

    Function render has 60 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      render() {
        const { addedAnnotationIndex } = this.state;
        const addedAnnotation =
          addedAnnotationIndex !== null
            ? this.props.value[addedAnnotationIndex]

      There are no issues that match your filters.

      Category
      Status