Enforce the license of a project
This rule aims to prevent publishing an unlicensed package.
Examples of incorrect code for this rule:
{
"description": "missing license"
}
{
"license": "UNLICENSED"
}
Examples of correct code for this rule:
{
"license": "MIT"
}
"always"
(default) requires a string other than "UNLICENSED""allow-unlicensed"
allows the string "UNLICENSED"
If this is a private package or app that isn't published, you may not want this rule.