infoLicense
infoLicense
will check a specification to ensure that the info
section contains a valid license.
Example ruleset configuration
info-license:
description: "Check that the `info` section contains a valid license"
type: "information"
recommended: true
severity: "error"
given: "$"
then:
function: "infoLicense"
The function is used by the info-license Rule