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 = {