Skip to content

[do not merge] exploring adapters API #2560

[do not merge] exploring adapters API

[do not merge] exploring adapters API #2560

Triggered via pull request November 17, 2025 11:15
@piehpieh
synchronize #3136
wip-adapter
Status Failure
Total duration 15m 18s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
Lint
Process completed with exit code 2.
Lint: src/adapter/run/pages-and-app-handler.ts#L32
Rest parameter 'args' implicitly has an 'any[]' type.
Lint: src/adapter/build/middleware.ts#L6
File '/home/runner/work/opennextjs-netlify/opennextjs-netlify/edge-runtime/lib/types.ts' is not under 'rootDir' '/home/runner/work/opennextjs-netlify/opennextjs-netlify/src'. 'rootDir' is expected to contain all source files.
Lint: edge-runtime/lib/types.ts#L1
Cannot find module 'next-with-adapters/dist/build/templates/middleware' or its corresponding type declarations.
Lint
Process completed with exit code 1.
Lint: src/index.ts#L10
'unpublishStaticDir' is defined but never used.
Lint: src/adapter/run/routing.ts#L549
Unexpected any. Specify a different type.
Lint: src/adapter/run/routing.ts#L538
'span' is defined but never used.
Lint: src/adapter/run/routing.ts#L140
Unexpected any. Specify a different type.
Lint: src/adapter/run/pages-and-app-handler.ts#L108
Unexpected any. Specify a different type.
Lint: src/adapter/run/pages-and-app-handler.ts#L106
Unexpected any. Specify a different type.
Lint: src/adapter/run/pages-and-app-handler.ts#L104
Unexpected any. Specify a different type.
Lint: src/adapter/run/pages-and-app-handler.ts#L25
Unexpected any. Specify a different type.
Lint: src/adapter/build/routing.ts#L335
Forbidden non-null assertion.
Lint: src/adapter/build/routing.ts#L63
'netlifyAdapterContext' is defined but never used.