Skip to main content

What it flags

A Mongoose .find(), .findOne(), or .findById() read query is returned or JSON-serialized without .lean().

Configuration

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