MCP Templates - without API #1069
on-pr.yaml
on: pull_request
build
/
build-and-test
1m 3s
Annotations
10 errors and 11 warnings
|
build / build-and-test:
src/components/Dialogs/MetadataForm.tsx#L105
Replace `(resolvedNamePrefix·||·resolvedNameSuffix)` with `resolvedNamePrefix·||·resolvedNameSuffix`
|
|
build / build-and-test:
src/components/Dialogs/MetadataForm.tsx#L85
Unexpected any. Specify a different type
|
|
build / build-and-test:
src/components/Dialogs/MetadataForm.tsx#L82
Replace `·shouldValidate:·true,·shouldDirty:·true` with `⏎······shouldValidate:·true,⏎······shouldDirty:·true,⏎···`
|
|
build / build-and-test:
src/components/Dialogs/MetadataForm.tsx#L77
Unexpected any. Specify a different type
|
|
build / build-and-test:
src/components/ControlPlanes/List/ControlPlaneListWorkspaceGridTile.tsx#L78
Replace `.trim()` with `⏎········.trim()⏎········`
|
|
build / build-and-test:
src/components/ControlPlanes/List/ControlPlaneListWorkspaceGridTile.tsx#L76
Unexpected any. Specify a different type
|
|
|
|
build / build-and-test:
src/components/ComponentsSelection/ComponentsSelectionContainer.tsx#L85
Unexpected any. Specify a different type
|
|
build / build-and-test:
src/components/ComponentsSelection/ComponentsSelectionContainer.tsx#L61
Replace `(templateVersion·&&·versions.includes(templateVersion)·?·templateVersion·:·'')` with `templateVersion·&&·versions.includes(templateVersion)⏎············?·templateVersion⏎············:·''`
|
|
build / build-and-test:
src/components/ComponentsSelection/ComponentsSelection.tsx#L150
Replace `⏎··························key="__placeholder"⏎··························data-version=""⏎··························data-name={component.name}⏎··························selected⏎························` with `·key="__placeholder"·data-version=""·data-name={component.name}·selected`
|
|
build / build-and-test
No files were found with the provided path: cypress/screenshots/. No artifacts will be uploaded.
|
|
build / build-and-test:
src/components/Wizards/CreateManagedControlPlane/CreateManagedControlPlaneWizardContainer.tsx#L365
React Hook useEffect has an unnecessary dependency: 'idpPrefix'. Either exclude it or remove the dependency array. Outer scope values like 'idpPrefix' aren't valid dependencies because mutating them doesn't re-render the component
|
|
build / build-and-test:
src/components/Wizards/CreateManagedControlPlane/CreateManagedControlPlaneWizardContainer.tsx#L311
React Hook useCallback has an unnecessary dependency: 'wizardStepOrder'. Either exclude it or remove the dependency array. Outer scope values like 'wizardStepOrder' aren't valid dependencies because mutating them doesn't re-render the component
|
|
build / build-and-test:
src/components/Wizards/CreateManagedControlPlane/CreateManagedControlPlaneWizardContainer.tsx#L78
The 'templates' array makes the dependencies of useEffect Hook (at line 102) change on every render. To fix this, wrap the initialization of 'templates' in its own useMemo() Hook
|
|
build / build-and-test:
src/components/Wizards/CreateManagedControlPlane/CreateManagedControlPlaneWizardContainer.tsx#L78
The 'templates' array makes the dependencies of useMemo Hook (at line 84) change on every render. To fix this, wrap the initialization of 'templates' in its own useMemo() Hook
|
|
build / build-and-test:
src/components/Dialogs/MetadataForm.tsx#L188
Callbacks must be listed after all other props
|
|
build / build-and-test:
src/components/Dialogs/MetadataForm.tsx#L122
Callbacks must be listed after all other props
|
|
build / build-and-test:
src/components/ComponentsSelection/ComponentsSelectionContainer.tsx#L44
The 'defaultComponents' logical expression could make the dependencies of useEffect Hook (at line 119) change on every render. To fix this, wrap the initialization of 'defaultComponents' in its own useMemo() Hook
|
|
build / build-and-test:
src/components/ComponentsSelection/ComponentsSelectionContainer.tsx#L44
The 'defaultComponents' logical expression could make the dependencies of useEffect Hook (at line 99) change on every render. To fix this, wrap the initialization of 'defaultComponents' in its own useMemo() Hook
|
|
build / build-and-test:
src/components/ComponentsSelection/ComponentsSelectionContainer.tsx#L44
The 'defaultComponents' logical expression could make the dependencies of useEffect Hook (at line 75) change on every render. To fix this, wrap the initialization of 'defaultComponents' in its own useMemo() Hook
|
|
build / build-and-test:
src/components/ComponentsSelection/ComponentsSelection.tsx#L141
Callbacks must be listed after all other props
|