task/WP-708: add unit tests and refactor getting toolbar rules into a method #2870
Annotations
4 warnings
Run npx nx affected --target=lint --parallel=3:
client/src/workspace/layouts/AppsViewLayout.tsx#L51
Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations
|
Run npx nx affected --target=lint --parallel=3:
client/modules/datafiles/src/projects/modals/ChangeProjectTypeModal.tsx#L133
React Hook useMemo has a missing dependency: 'showProtectedDataOptions'. Either include it or remove the dependency array
|
Run npx nx affected --target=lint --parallel=3:
client/modules/datafiles/src/projects/modals/ProjectInfoStepper/ExperimentalSteps.tsx#L168
The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
|
Run npx nx affected --target=lint --parallel=3:
client/modules/datafiles/src/projects/modals/ProjectInfoStepper/SimulationSteps.tsx#L167
The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
|
Loading