mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Turn on noUnusedLocals, noImplicitReturns, importsNotUsedAsValues: error, and isolatedModules (#2777)
This commit is contained in:
1 parent
489cef9595
commit
5ed4537979
287 files changed
+704
-628
No files matched your search
@@ -100,7 +100,7 @@ export class HpaDetails extends React.Component<Props> {
|
||||
render() {
|
||||
const { object: hpa } = this.props;
|
||||
|
||||
if (!hpa) return;
|
||||
if (!hpa) return null;
|
||||
const { scaleTargetRef } = hpa.spec;
|
||||
|
||||
return (
|
||||
|
||||
@@ -23,10 +23,10 @@ import "./hpa.scss";
|
||||
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { RouteComponentProps } from "react-router";
|
||||
import type { RouteComponentProps } from "react-router";
|
||||
import { KubeObjectListLayout } from "../kube-object";
|
||||
import { IHpaRouteParams } from "./hpa.route";
|
||||
import { HorizontalPodAutoscaler } from "../../api/endpoints/hpa.api";
|
||||
import type { IHpaRouteParams } from "./hpa.route";
|
||||
import type { HorizontalPodAutoscaler } from "../../api/endpoints/hpa.api";
|
||||
import { hpaStore } from "./hpa.store";
|
||||
import { Badge } from "../badge";
|
||||
import { cssNames } from "../../utils";
|
||||
|
||||
Reference in new issue
Block a user