aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/component-measures/drilldown
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2022-04-07 20:10:48 +0200
committersonartech <sonartech@sonarsource.com>2022-04-08 20:02:59 +0000
commit426062571e84035f9ff66f4e53bba71837c61921 (patch)
tree6688c82f876789293b752d8519ac152ff1cb83ad /server/sonar-web/src/main/js/apps/component-measures/drilldown
parent8552fdb1d725753b4c4128ef81771db528d41c49 (diff)
downloadsonarqube-426062571e84035f9ff66f4e53bba71837c61921.tar.gz
sonarqube-426062571e84035f9ff66f4e53bba71837c61921.zip
[NO-JIRA] Fix eslint issues
Diffstat (limited to 'server/sonar-web/src/main/js/apps/component-measures/drilldown')
-rw-r--r--server/sonar-web/src/main/js/apps/component-measures/drilldown/BubbleChart.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/component-measures/drilldown/TreeMapView.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/component-measures/drilldown/__tests__/BubbleChart-test.tsx1
3 files changed, 0 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/drilldown/BubbleChart.tsx b/server/sonar-web/src/main/js/apps/component-measures/drilldown/BubbleChart.tsx
index 5f7624d7ec9..39be3005c63 100644
--- a/server/sonar-web/src/main/js/apps/component-measures/drilldown/BubbleChart.tsx
+++ b/server/sonar-web/src/main/js/apps/component-measures/drilldown/BubbleChart.tsx
@@ -32,7 +32,6 @@ import { formatMeasure, isDiffMetric } from '../../../helpers/measures';
import { isDefined } from '../../../helpers/types';
import { isProject } from '../../../types/component';
import {
- ComponentMeasure,
ComponentMeasureEnhanced,
ComponentMeasureIntern,
Dict,
@@ -50,7 +49,6 @@ import EmptyResult from './EmptyResult';
const HEIGHT = 500;
interface Props {
- component: ComponentMeasure;
components: ComponentMeasureEnhanced[];
domain: string;
metrics: Dict<Metric>;
diff --git a/server/sonar-web/src/main/js/apps/component-measures/drilldown/TreeMapView.tsx b/server/sonar-web/src/main/js/apps/component-measures/drilldown/TreeMapView.tsx
index 325d9370cff..d564ef2fdaf 100644
--- a/server/sonar-web/src/main/js/apps/component-measures/drilldown/TreeMapView.tsx
+++ b/server/sonar-web/src/main/js/apps/component-measures/drilldown/TreeMapView.tsx
@@ -29,13 +29,11 @@ import { getComponentMeasureUniqueKey } from '../../../helpers/component';
import { getLocalizedMetricName, translate, translateWithParameters } from '../../../helpers/l10n';
import { formatMeasure, isDiffMetric } from '../../../helpers/measures';
import { isDefined } from '../../../helpers/types';
-import { BranchLike } from '../../../types/branch-like';
import { MetricKey } from '../../../types/metrics';
import { ComponentMeasureEnhanced, ComponentMeasureIntern, Metric } from '../../../types/types';
import EmptyResult from './EmptyResult';
interface Props {
- branchLike?: BranchLike;
components: ComponentMeasureEnhanced[];
handleSelect: (component: ComponentMeasureIntern) => void;
metric: Metric;
diff --git a/server/sonar-web/src/main/js/apps/component-measures/drilldown/__tests__/BubbleChart-test.tsx b/server/sonar-web/src/main/js/apps/component-measures/drilldown/__tests__/BubbleChart-test.tsx
index 0b69818e937..a52f882cf91 100644
--- a/server/sonar-web/src/main/js/apps/component-measures/drilldown/__tests__/BubbleChart-test.tsx
+++ b/server/sonar-web/src/main/js/apps/component-measures/drilldown/__tests__/BubbleChart-test.tsx
@@ -75,7 +75,6 @@ it('should handle filtering', () => {
function shallowRender(overrides: Partial<BubbleChart['props']> = {}) {
return shallow<BubbleChart>(
<BubbleChart
- component={mockComponentMeasure()}
components={[
enhanceComponent(
mockComponentMeasure(true, {