Skip to content

fix all the various examples eslint warnings #526

fix all the various examples eslint warnings

fix all the various examples eslint warnings #526

Triggered via pull request October 10, 2024 19:20
Status Success
Total duration 1m 49s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
validate: packages/open-next/src/adapters/cache.ts#L273
Refactor this function to reduce its Cognitive Complexity from 22 to the 20 allowed
validate: packages/open-next/src/adapters/cache.ts#L359
Add the missing "else" clause
validate: packages/open-next/src/adapters/middleware.ts#L12
Refactor this function to reduce its Cognitive Complexity from 21 to the 20 allowed
validate: packages/open-next/src/adapters/plugins/without-routing/requestHandler.ts#L8
'preprocessResult' is assigned a value but never used. Allowed unused vars must match /^_/u
validate: packages/open-next/src/adapters/warmer-function.ts#L21
Forbidden non-null assertion
validate: packages/open-next/src/adapters/warmer-function.ts#L32
Forbidden non-null assertion
validate: packages/open-next/src/build.ts#L478
Refactor this function to reduce its Cognitive Complexity from 34 to the 20 allowed
validate: packages/open-next/src/build/copyTracedFiles.ts#L27
Refactor this function to reduce its Cognitive Complexity from 54 to the 20 allowed
validate: packages/open-next/src/build/createServerBundle.ts#L33
Refactor this function to reduce its Cognitive Complexity from 23 to the 20 allowed
validate: packages/open-next/src/build/createServerBundle.ts#L126
Refactor this function to reduce its Cognitive Complexity from 27 to the 20 allowed