From 5edf84d334e1f7638a3067f6b251d032bbc8ad02 Mon Sep 17 00:00:00 2001 From: Haris Rozajac Date: Wed, 14 Jan 2026 16:04:06 -0700 Subject: [PATCH] fix es-lint --- eslint-suppressions.json | 5 ----- .../manage-dashboards/components/ImportDashboardOverview.tsx | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/eslint-suppressions.json b/eslint-suppressions.json index 25d3225375e..012c65908b4 100644 --- a/eslint-suppressions.json +++ b/eslint-suppressions.json @@ -2802,11 +2802,6 @@ "count": 1 } }, - "public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx": { - "react-prefer-function-component/react-prefer-function-component": { - "count": 1 - } - }, "public/app/features/manage-dashboards/state/actions.ts": { "@typescript-eslint/consistent-type-assertions": { "count": 1 diff --git a/public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx b/public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx index c909d2bb1b4..6473b0475a1 100644 --- a/public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx +++ b/public/app/features/manage-dashboards/components/ImportDashboardOverview.tsx @@ -46,6 +46,7 @@ interface State { uidReset: boolean; } +// disabling this rule, eventually we will migrate to function components and also stop using redux // eslint-disable-next-line react-prefer-function-component/react-prefer-function-component class ImportDashboardOverviewUnConnected extends PureComponent { state: State = {