Skip to content

Initial changes

Initial changes #1084

Triggered via push December 3, 2023 02:08
Status Failure
Total duration 1m 30s
Artifacts
Run Lint Checks
1m 22s
Run Lint Checks
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L19
'slug' is already declared in the upper scope on line 7 column 2
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L27
'slug' is already declared in the upper scope on line 7 column 2
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L52
Visible, non-interactive elements with click handlers must have at least one keyboard listener
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L52
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L73
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L73
Visible, non-interactive elements with click handlers must have at least one keyboard listener
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L73
Non-interactive elements should not be assigned mouse or keyboard event listeners
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L88
Visible, non-interactive elements with click handlers must have at least one keyboard listener
Run Lint Checks: src/OnboardingSPA/components/LivePreview/SiteGenCard/index.js#L88
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element
Run Lint Checks: src/OnboardingSPA/data/homepages/getHomepages.js#L5
Replace `·····return·[one,·two,·three` with `↹return·[·one,·two,·three·`
Run Lint Checks
Process completed with exit code 2.
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L24
Assignments to the 'statusIdx' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L39
React Hook useEffect has a missing dependency: 'currentData.sitegen.siteGenMetaStatus.totalCount'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L47
React Hook useEffect has missing dependencies: 'autoNavigate', 'navigate', and 'nextStep'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L104
React Hook useSelect has an unnecessary dependency: 'location.pathname'. Either exclude it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L367
React Hook useEffect has a missing dependency: 'trackChapters'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L408
React Hook useEffect has a missing dependency: 'pluginInstallHash'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L414
React Hook useEffect has missing dependencies: 'brandConfig?.prioritization' and 'prioritizeFlow'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L424
React Hook useEffect has missing dependencies: 'handleConditionalDesignStepsRoutes', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L114
React Hook useEffect has missing dependencies: 'generateSiteGenData', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/StateHandlers/Flow/index.js#L93
React Hook useEffect has missing dependencies: 'disableNavigation', 'onboardingFlow', 'setActiveFlow', 'setActiveStep', and 'switchToNewFlow'. Either include them or remove the dependency array