Skip to content

[HOLD Pending BE API] Frontend: Private Domain Onboarding Check #98358

[HOLD Pending BE API] Frontend: Private Domain Onboarding Check

[HOLD Pending BE API] Frontend: Private Domain Onboarding Check #98358

Triggered via pull request December 27, 2024 07:58
Status Failure
Total duration 8m 39s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
ESLint check: src/hooks/useOnboardingFlow.ts#L36
'allBetas' is assigned a value but never used
ESLint check: src/hooks/useOnboardingFlow.ts#L36
'allBetasMetadata' is assigned a value but never used
ESLint check: src/libs/actions/Welcome/OnboardingFlow.ts#L41
Unexpected console statement
ESLint check: src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx#L26
All imports in the declaration are only used as types. Use `import type`
ESLint check: src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx#L30
All imports in the declaration are only used as types. Use `import type`
ESLint check: src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx#L33
'route' is defined but never used
ESLint check: src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx#L129
'ICON_SIZE' was used before it was defined
ESLint check: src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx#L130
'ICON_SIZE' was used before it was defined
ESLint check: src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx#L143
'section' is already declared in the upper scope on line 99 column 11
ESLint check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ESLint check: src/hooks/useOnboardingFlow.ts#L80
React Hook useEffect has a missing dependency: 'canUsePrivateDomainOnboardingCheck'. Either include it or remove the dependency array
ESLint check: src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx#L65
React Hook useCallback has missing dependencies: 'isVsb' and 'onboardingValues'. Either include them or remove the dependency array
ESLint check: src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx#L154
React Hook useCallback has an unnecessary dependency: 'shouldUseNarrowLayout'. Either exclude it or remove the dependency array