Document shortcut config

master
Anton Smirnov 8 months ago
parent 30458a277f
commit 1960f3598d

2
.gitignore vendored

@ -1,5 +1,5 @@
/.idea
/reports
/docs/html
/docs/build
vendor
composer.lock

@ -29,6 +29,8 @@ Licenses
Licenses section configures desired and undesired licenses.
.. versionadded:: 1.1 ``{ "licenses": [...] }`` is a shortcut for ``{ "licenses": { "allowed": [...] } }``
``"allowed"``
Whitelisted licenses. Allows globs in prefix form (``*`` as the last character).
Default: ``["*"]``
@ -45,7 +47,6 @@ Licenses section configures desired and undesired licenses.
``BSD-Protection`` (non GPL-compatible),
``BSD-3-Clause-No-Nuclear-License`` and ``BSD-3-Clause-No-Military-License`` (both non-free)
Check order:
#. exact forbidden licenses
@ -64,6 +65,8 @@ Packages
Package exceptions to the policy enforcement.
.. versionadded:: 1.1 ``{ "packages": [...] }`` is a shortcut for ``{ "packages": { "allowed": [...] } }``
``"allowed"``
Whitelisted packages. Allows globs in prefix form (``*`` as the last character).
Default: ``[]``

Loading…
Cancel
Save