PackageLicenseSettings
Defined in: policies/PackageLicense.ts:13
Policy settings for the PackageLicense repo policy.
Properties
Section titled “Properties”licenseFileName?
Section titled “licenseFileName?”
optionallicenseFileName?:string
Defined in: policies/PackageLicense.ts:32
The name of the LICENSE file to look for and sync.
Default Value
Section titled “Default Value”"LICENSE"skipPrivate?
Section titled “skipPrivate?”
optionalskipPrivate?:boolean
Defined in: policies/PackageLicense.ts:25
Whether to skip validation for private packages.
Default Value
Section titled “Default Value”trueRemarks
Section titled “Remarks”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.