added ai capability check in flow state handler #1777
Annotations
10 errors and 2 warnings
Run JS Lint:
src/OnboardingSPA/components/Header/components/SiteBuildHeader/step-navigation.js#L139
Replace `·` with `⏎↹↹↹↹↹↹↹`
|
|
Run JS Lint:
src/OnboardingSPA/components/Header/components/SiteBuildHeader/step-navigation.js#L141
Replace `:·false·` with `↹:·false⏎↹↹↹↹↹↹`
|
Run JS Lint:
src/OnboardingSPA/components/SiteGenError/index.js#L36
'setContinueWithoutAi' is assigned a value but never used
|
Run JS Lint:
src/OnboardingSPA/components/StateHandlers/Flow/index.js#L20
Replace `·validateFlow,·removeFromAllSteps,·removeFromTopSteps,·removeFromRoutes·` with `⏎↹validateFlow,⏎↹removeFromAllSteps,⏎↹removeFromTopSteps,⏎↹removeFromRoutes,⏎`
|
Run JS Lint:
src/OnboardingSPA/components/StateHandlers/Flow/index.js#L92
Replace `⏎↹↹↹↹data.steps,` with `·data.steps,·[`
|
Run JS Lint:
src/OnboardingSPA/components/StateHandlers/Flow/index.js#L94
Replace `[·stepTheFork·]` with `stepTheFork,`
|
|
Run JS Lint:
src/OnboardingSPA/components/StateHandlers/Flow/index.js#L98
Replace `⏎↹↹↹↹data?.topSteps,` with `·data?.topSteps,·[`
|
Run JS Lint:
src/OnboardingSPA/components/StateHandlers/Flow/index.js#L100
Replace `[·stepTheFork·]` with `stepTheFork,`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run JS Lint:
src/OnboardingSPA/components/StateHandlers/Flow/index.js#L123
React Hook useEffect has missing dependencies: 'disableNavigation', 'onboardingFlow', 'setActiveFlow', 'setActiveStep', and 'switchToNewFlow'. Either include them or remove the dependency array
|
Loading