Skip to content

feat: migrate React.dev to the App Router #2445

feat: migrate React.dev to the App Router

feat: migrate React.dev to the App Router #2445

Triggered via pull request January 19, 2025 15:56
Status Failure
Total duration 59s
Artifacts

site_lint.yml

on: pull_request
Lint on node 20.x and ubuntu-latest
52s
Lint on node 20.x and ubuntu-latest
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint on node 20.x and ubuntu-latest: src/_pages/errors/[errorCode].tsx#L3
Cannot find module 'components/MDX/MDXComponentsWrapper' or its corresponding type declarations.
Lint on node 20.x and ubuntu-latest: src/_pages/errors/[errorCode].tsx#L120
Property 'content' does not exist on type '{ Component: Element; toc: any; meta: any; }'.
Lint on node 20.x and ubuntu-latest: src/app/layout.tsx#L13
Binding element 'params' implicitly has an 'any' type.
Lint on node 20.x and ubuntu-latest: src/app/layout.tsx#L165
Binding element 'children' implicitly has an 'any' type.
Lint on node 20.x and ubuntu-latest: src/components/Analytics.tsx#L17
Not all code paths return a value.
Lint on node 20.x and ubuntu-latest: src/components/Layout/Page.tsx#L14
Module '"components/Seo"' has no exported member 'Seo'.
Lint on node 20.x and ubuntu-latest: src/hooks/usePendingRoute.ts#L10
Cannot find name 'useRouter'.
Lint on node 20.x and ubuntu-latest: src/utils/compileMDX.tsx#L2
Could not find a declaration file for module 'metro-cache'. '/home/runner/work/react.dev/react.dev/node_modules/metro-cache/src/index.js' implicitly has an 'any' type.
Lint on node 20.x and ubuntu-latest: src/utils/compileMDX.tsx#L87
Object literal may only specify known properties, and 'content' does not exist in type '{ Component: Element; toc: any; meta: any; }'.
Lint on node 20.x and ubuntu-latest
Process completed with exit code 1.
Lint on node 20.x and ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636