What it flags
CORS options allow credentials with origin*, true, a match-everything regex or a callback that always accepts. Listed or configured origins are clean.
An explicit process.env.NODE_ENV === 'development' check, written in the condition or in a local const flag such as const isDev = process.env.NODE_ENV === 'development', can establish that a policy is for development. The rule still reports policies that can run when NODE_ENV is unset or unknown.
Configuration
Set the rule to"off" in loadwise.config.json to drop its findings: