Enable Github Actions #4
pull-request.yaml
on: pull_request
formatting
55s
linting
1m 0s
Annotations
1 error and 10 warnings
linting
Process completed with exit code 1.
|
linting:
components/Accordion/index.js#L39
React Hook useEffect has missing dependencies: 'id' and 'router.asPath'. Either include them or remove the dependency array
|
linting:
components/Clickable/index.js#L104
Anchors must have content and the content must be accessible by a screen reader
|
linting:
components/FeatureCard/index.js#L27
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
|
linting:
components/Header/index.js#L95
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
|
linting:
components/HomepageFeaturedContent/index.js#L178
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
|
linting:
components/LessonCard/index.js#L98
Anchors must have content and the content must be accessible by a screen reader
|
linting:
components/LessonCard/index.js#L103
Anchors must have content and the content must be accessible by a screen reader
|
linting:
components/LessonLink/index.js#L18
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
|
linting:
public/content/lessons/2019/hyperdarts/game_interactive/index.js#L537
Do not mutate state directly. Use setState()
|
linting:
public/content/lessons/2019/hyperdarts/game_interactive/index.js#L550
Do not mutate state directly. Use setState()
|