ESLint: Set "no-unnecessary-condition" rule to error #5927
Annotations
11 warnings
dev-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
dev-check:
src/Components/Blueprints/BlueprintActionsMenu.tsx#L66
Unnecessary conditional, the types have no overlap
|
dev-check:
src/Components/Blueprints/BlueprintsPagination.tsx#L35
Unnecessary optional chain on a non-nullish value
|
dev-check:
src/Components/Blueprints/BlueprintsSideBar.tsx#L85
Unnecessary optional chain on a non-nullish value
|
dev-check:
src/Components/Blueprints/BlueprintsSideBar.tsx#L178
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
dev-check:
src/Components/Blueprints/BuildImagesButton.tsx#L49
Unnecessary optional chain on a non-nullish value
|
dev-check:
src/Components/Blueprints/BuildImagesButton.tsx#L81
Unnecessary optional chain on a non-nullish value
|
dev-check:
src/Components/Blueprints/BuildImagesButton.tsx#L146
Unnecessary conditional, value is always falsy
|
dev-check:
src/Components/Blueprints/DeleteBlueprintModal.tsx#L51
Unnecessary optional chain on a non-nullish value
|
dev-check:
src/Components/Blueprints/ImportBlueprintModal.tsx#L185
React Hook React.useEffect has missing dependencies: 'dispatch' and 'handleRepositoryImport'. Either include them or remove the dependency array
|
dev-check:
src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L146
Unnecessary optional chain on a non-nullish value
|