Exclude manifest.json, robots.txt and sitemap.xml from routing matcher #192
Annotations
2 errors and 10 warnings
validate:
packages/open-next/src/adapters/routing/matcher.ts#L178
Replace `⏎······"/manifest.json",⏎······"/robots.txt",⏎······"/sitemap.xml",⏎····` with `"/manifest.json",·"/robots.txt",·"/sitemap.xml"`
|
validate
Process completed with exit code 1.
|
validate:
example/components/layout.js#L6
'name' is assigned a value but never used. Allowed unused vars must match /^_/u
|
validate:
examples/app-pages-router/app/api/client/route.ts#L3
'request' is defined but never used. Allowed unused args must match /^_/u
|
validate:
examples/app-pages-router/app/parallel/layout.tsx#L7
'children' is defined but never used. Allowed unused args must match /^_/u
|
validate:
examples/app-pages-router/middleware.ts#L16
Add the missing "else" clause
|
validate:
examples/app-router/app/api/client/route.ts#L3
'request' is defined but never used. Allowed unused args must match /^_/u
|
validate:
examples/app-router/app/api/sse/route.ts#L6
'request' is defined but never used. Allowed unused args must match /^_/u
|
validate:
examples/app-router/app/parallel/layout.tsx#L7
'children' is defined but never used. Allowed unused args must match /^_/u
|
validate:
examples/app-router/middleware.ts#L16
Add the missing "else" clause
|
validate:
examples/shared/api/index.ts#L17
'key' is defined but never used. Allowed unused args must match /^_/u
|
validate:
packages/open-next/src/adapters/cache.ts#L163
Refactor this function to reduce its Cognitive Complexity from 24 to the 20 allowed
|