diff --git a/eslint-suppressions.json b/eslint-suppressions.json index 18367de0c3f..a3292e1a102 100644 --- a/eslint-suppressions.json +++ b/eslint-suppressions.json @@ -3328,6 +3328,23 @@ "count": 2 } }, + "public/app/features/query/components/QueryEditorRow.tsx": { + "@grafana/no-aria-label-selectors": { + "count": 1 + }, + "@typescript-eslint/consistent-type-assertions": { + "count": 3 + }, + "no-restricted-syntax": { + "count": 1 + }, + "react-hooks/rules-of-hooks": { + "count": 1 + }, + "react-prefer-function-component/react-prefer-function-component": { + "count": 1 + } + }, "public/app/features/query/components/QueryEditorRowHeader.tsx": { "@grafana/no-aria-label-selectors": { "count": 1 diff --git a/public/app/features/query/components/QueryEditorRow.tsx b/public/app/features/query/components/QueryEditorRow.tsx index 5612ce37e0b..c13c6c97c93 100644 --- a/public/app/features/query/components/QueryEditorRow.tsx +++ b/public/app/features/query/components/QueryEditorRow.tsx @@ -85,7 +85,6 @@ interface State { showingHelp: boolean; } -// eslint-disable-next-line react-prefer-function-component/react-prefer-function-component export class QueryEditorRow extends PureComponent, State> { dataSourceSrv = getDataSourceSrv(); id = ''; @@ -136,7 +135,6 @@ export class QueryEditorRow extends PureComponent, queriedDataSourceIdentifier: interpolatedUID, }); @@ -378,7 +376,6 @@ export class QueryEditorRow extends PureComponent void, dataSource, key: index, @@ -497,7 +494,6 @@ export class QueryEditorRow extends PureComponent e.refId === query.refId); const rowClasses = classNames('query-editor-row', { 'query-editor-row--disabled': isHidden, - // eslint-disable-next-line no-restricted-syntax 'gf-form-disabled': isHidden, }); @@ -539,7 +535,6 @@ export class QueryEditorRow extends PureComponent {queryLibraryRef && ( ({ extensionPointId: PluginExtensionPoints.QueryEditorRowAdaptiveTelemetryV1, });