Closed scouten-adobe closed 2 weeks ago
Thank you for filing this issue! Let me check soon!
@scouten-adobe Thank you for your request, I have implemented a new field optional
(defaults to false
) to scope
rule.
scope:
level: error
optional: true
options:
- rp_sandbox_a
- rp_sandbox_b
- rp_sandbox_c
I hope this will work out in your use case.
Released v0.1.12 🚀
I'd like to be able to allow an empty scope, but also restrict the scope to a specific list if a scope appears.
I've configured my
.commitlintrc.yml
with the following:… but a commit with no scope fails the
scope
rule.