task/WP-708: add unit tests and refactor getting toolbar rules into a method #2935
Annotations
3 warnings
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