Skip to content

Instantly share code, notes, and snippets.

@j2doll
Forked from robertohuertasm/.licrc
Created March 16, 2023 05:41
Show Gist options
  • Save j2doll/3d699b10f36a4f05c2421b248b2baec0 to your computer and use it in GitHub Desktop.
Save j2doll/3d699b10f36a4f05c2421b248b2baec0 to your computer and use it in GitHub Desktop.
Simple .licrc config file for Licensebat
# IMPORTANT!: ALL SECTIONS ARE MANDATORY
[licenses]
# This indicates which are the only licenses that Licensebat will accept.
# The rest will be flagged as not allowed.
accepted = ["MIT", "MSC", "BSD"]
# This will indicate which licenses are not accepted.
# The rest will be accepted, except for the unknown licenses or dependencies without licenses.
# unaccepted = ["LGPL"]
# Note that only one of the previous options can be enabled at once.
# If both of them are informed, only accepted will be considered.
[dependencies]
# This will allow users to flag some dependencies so that Licensebat will not check for their license.
ignored=["ignored_dep1", "ignored_dep2"]
# If set to true, Licensebat will ignore the dev dependencies.
ignore_dev_dependencies = true
# If set to true, Licensebat will ignore the optional dependencies.
ignore_optional_dependencies = true
[behavior]
# False by default, if true, it will only run the checks when one of the dependency files or the .licrc file has been modified.
run_only_on_dependency_modification = true
# False by default, if true, it will never block the build.
do_not_block_pr = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment