) => {
+ | ^
+ 27 | // This lambda is a React function component.
+ 28 | // It is safe to call a hook here.
+ 29 | // eslint-disable-next-line
+
+
+warning: 'useContext' is defined but never used (@typescript-eslint/no-unused-vars) at pkg/ui/workspaces/cluster-ui/src/databaseDetailsPage/databaseDetailsPage.tsx:11:17:
+ 9 | // licenses/APL.txt.
+ 10 |
+> 11 | import React, { useContext } from "react";
+ | ^
+ 12 | import { Link, RouteComponentProps } from "react-router-dom";
+ 13 | import { Tooltip } from "antd";
+ 14 | import "antd/lib/tooltip/style";
+
+
+warning: Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any) at pkg/ui/workspaces/cluster-ui/src/declaration.d.ts:20:38:
+ 18 | declare module "*.svg";
+ 19 |
+> 20 | type ConstructorType = new (...args: any) => any;
+ | ^
+ 21 |
+ 22 | type FirstConstructorParameter =
+ 23 | ConstructorParameters
[0];
+
+
+warning: Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any) at pkg/ui/workspaces/cluster-ui/src/declaration.d.ts:20:46:
+ 18 | declare module "*.svg";
+ 19 |
+> 20 | type ConstructorType = new (...args: any) => any;
+ | ^
+ 21 |
+ 22 | type FirstConstructorParameter
=
+ 23 | ConstructorParameters
[0];
+
+
+warning: Missing return type on function (@typescript-eslint/explicit-module-boundary-types) at pkg/ui/workspaces/cluster-ui/src/highlightedText/highlightedText.tsx:73:8:
+ 71 | }
+ 72 |
+> 73 | export function getHighlightedText(
+ | ^
+ 74 | text: string,
+ 75 | highlight: string,
+ 76 | hasDarkBkg: boolean,
+
+
+warning: Missing return type on function (@typescript-eslint/explicit-module-boundary-types) at pkg/ui/workspaces/cluster-ui/src/icon/refreshIcon.tsx:19:21:
+ 17 | }
+ 18 |
+> 19 | const RefreshIcon = ({ className, onClick, color }: IconProps) => (
+ | ^
+ 20 |