Skip to content

PackageLicenseSettings

Defined in: policies/PackageLicense.ts:13

Policy settings for the PackageLicense repo policy.

optional licenseFileName?: string

Defined in: policies/PackageLicense.ts:32

The name of the LICENSE file to look for and sync.

"LICENSE"

optional skipPrivate?: boolean

Defined in: policies/PackageLicense.ts:25

Whether to skip validation for private packages.

true

Private packages (those with private: true in package.json) are typically not published and may not need a LICENSE file. Set to false to require LICENSE files for all packages.