Status.tsx: show as many different error types as possible (HMS-1442) #2066
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run lint check:
src/Components/Blueprints/BlueprintsSideBar.tsx#L157
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Run lint check:
src/Components/CreateImageWizard/formComponents/MountPoint.js#L53
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
Run lint check:
src/Components/CreateImageWizard/formComponents/Packages.js#L162
React Hook useEffect has a missing dependency: 'selectedPackages'. Either include it or remove the dependency array
|
Run lint check:
src/Components/CreateImageWizard/formComponents/Packages.js#L255
React Hook useEffect has a missing dependency: 'keydownHandler'. Either include it or remove the dependency array
|
Run lint check:
src/Components/CreateImageWizard/formComponents/Repositories.js#L265
React Hook useMemo has missing dependencies: 'data' and 'initializeRepositories'. Either include them or remove the dependency array
|
Run lint check:
src/Components/CreateImageWizard/formComponents/Repositories.js#L301
React Hook useMemo has a missing dependency: 'isRepoSelected'. Either include it or remove the dependency array
|
Run lint check:
src/Components/CreateImageWizard/formComponents/SizeUnit.js#L20
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
Run lint check:
src/Components/CreateImageWizard/formComponents/TargetEnvironment.js#L75
React Hook useEffect has a missing dependency: 'handleSetEnvironment'. Either include it or remove the dependency array
|
Run lint check:
src/Components/CreateImageWizardV2/ImportImageWizard.tsx#L30
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array
|
Run lint check:
src/Components/CreateImageWizardV2/steps/Oscap/index.tsx#L21
React Hook useEffect has missing dependencies: 'prefetchOscapProfile' and 'release'. Either include them or remove the dependency array
|
Loading