Add source 2 #1739
Annotations
4 errors and 11 warnings
Run Lint Checks:
src/OnboardingSPA/steps/TheFork/index.js#L102
Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
|
Run Lint Checks:
src/OnboardingSPA/steps/TheFork/index.js#L102
Visible, non-interactive elements with click handlers must have at least one keyboard listener
|
Run Lint Checks:
src/OnboardingSPA/steps/TheFork/index.js#L102
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
Process completed with exit code 1.
|
Run Lint Checks
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 Lint Checks:
src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L257
React Hook useEffect has a missing dependency: 'trackChapters'. Either include it or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L264
React Hook useEffect has a missing dependency: 'pluginInstallHash'. Either include it or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L270
React Hook useEffect has missing dependencies: 'generateSiteGenData', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L281
React Hook useEffect has missing dependencies: 'generateSiteGenData' and 'syncStoreToDB'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L287
React Hook useEffect has a missing dependency: 'getEditedEntityRecord'. Either include it or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/components/Sidebar/components/SitegenEditorPatterns/Sidebar.js#L205
React Hook useEffect has missing dependencies: 'handleFavorite' and 'handlePreview'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/components/TextInput/TextInputSiteGen/index.js#L28
React Hook useEffect has missing dependencies: 'height', 'setCustomerInputStrength', and 'setIsValidInput'. Either include them or remove the dependency array. If 'setCustomerInputStrength' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/Editor/Header/index.js#L290
React Hook useEffect has a missing dependency: 'handleCustomize'. Either include it or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/Editor/Header/index.js#L308
React Hook useEffect has a missing dependency: 'setInteractionDisabled'. Either include it or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/Experience/index.js#L40
React Hook useEffect contains a call to 'setSelection'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [setHideFooterNav, setIsHeaderEnabled, setSidebarActiveView, setIsHeaderNavigationEnabled, setHeaderActiveView, setDrawerActiveView, currentData.sitegen.experience.level] as a second argument to the useEffect Hook
|