Skip to main content

What it flags

A JS/TS file outside the approved paths imports a configured database driver or ORM module at runtime. Static imports, re-exports, import x = require(), literal dynamic imports and unshadowed require() calls are checked. The policy is opt-in via dataAccess.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: