Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > PnpmOptionsConfiguration > trustPolicyExclude

PnpmOptionsConfiguration.trustPolicyExclude property

List of package names or patterns that are excluded from the trust policy check. These packages will be allowed to install even if their trust level has decreased.

Signature:

readonly trustPolicyExclude: string[] | undefined;

Remarks

(SUPPORTED ONLY IN PNPM 10.22.0 AND NEWER)

PNPM documentation: https://pnpm.io/settings\#trustpolicyexclude

Example: ["webpack", "react", "@myorg/*"]