From 1a68415bd85dc44e2c921d458a0480a66b41616c Mon Sep 17 00:00:00 2001 From: Yaacov Zamir Date: Mon, 26 Feb 2024 14:43:30 +0200 Subject: [PATCH] Lint fixes for 2.6 Signed-off-by: Yaacov Zamir --- packages/eslint-plugin/cspell.wordlist.txt | 1 + .../src/modules/Plans/views/details/tabs/Hooks/PlanHooks.tsx | 2 +- .../modules/Plans/views/details/tabs/Mappings/PlanMappings.tsx | 2 +- .../views/details/tabs/VirtualMachines/PlanVirtualMachines.tsx | 2 +- .../src/modules/Plans/views/details/tabs/YAML/PlanYAML.tsx | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/eslint-plugin/cspell.wordlist.txt b/packages/eslint-plugin/cspell.wordlist.txt index 22a709574..f8e21d14a 100644 --- a/packages/eslint-plugin/cspell.wordlist.txt +++ b/packages/eslint-plugin/cspell.wordlist.txt @@ -78,3 +78,4 @@ storageclasses storageclass storagedomains esxi +KJUR diff --git a/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/Hooks/PlanHooks.tsx b/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/Hooks/PlanHooks.tsx index 41f6e68f0..31f4afbaf 100644 --- a/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/Hooks/PlanHooks.tsx +++ b/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/Hooks/PlanHooks.tsx @@ -7,7 +7,7 @@ import { PageSection, Title } from '@patternfly/react-core'; import { PlanDetailsTabProps } from '../../PlanDetailsPage'; -export const PlanHooks: React.FC = ({ plan, loaded, loadError }) => { +export const PlanHooks: React.FC = ({ plan }) => { const { t } = useForkliftTranslation(); return ( diff --git a/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/Mappings/PlanMappings.tsx b/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/Mappings/PlanMappings.tsx index 0f0135b79..674a99d1c 100644 --- a/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/Mappings/PlanMappings.tsx +++ b/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/Mappings/PlanMappings.tsx @@ -7,7 +7,7 @@ import { PageSection, Title } from '@patternfly/react-core'; import { PlanDetailsTabProps } from '../../PlanDetailsPage'; -export const PlanMappings: React.FC = ({ plan, loaded, loadError }) => { +export const PlanMappings: React.FC = ({ plan }) => { const { t } = useForkliftTranslation(); return ( diff --git a/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/VirtualMachines/PlanVirtualMachines.tsx b/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/VirtualMachines/PlanVirtualMachines.tsx index 539c0aa2b..21ccdee6a 100644 --- a/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/VirtualMachines/PlanVirtualMachines.tsx +++ b/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/VirtualMachines/PlanVirtualMachines.tsx @@ -5,7 +5,7 @@ import { PageSection, Title } from '@patternfly/react-core'; import { PlanDetailsTabProps } from '../../PlanDetailsPage'; -export const PlanVirtualMachines: React.FC = ({ plan, loaded, loadError }) => { +export const PlanVirtualMachines: React.FC = ({ plan }) => { const { t } = useForkliftTranslation(); return ( diff --git a/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/YAML/PlanYAML.tsx b/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/YAML/PlanYAML.tsx index dfdb9f65c..7eef29dae 100644 --- a/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/YAML/PlanYAML.tsx +++ b/packages/forklift-console-plugin/src/modules/Plans/views/details/tabs/YAML/PlanYAML.tsx @@ -5,7 +5,7 @@ import { ResourceYAMLEditor } from '@openshift-console/dynamic-plugin-sdk'; import { PlanDetailsTabProps } from '../../PlanDetailsPage'; -export const PlanYAML: React.FC = ({ plan, loaded, loadError }) => { +export const PlanYAML: React.FC = ({ plan }) => { const { t } = useForkliftTranslation(); return ;