-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Followup of #273. An input like echo "feat: something" | commitlint unexpectedly emits a scopes are not allowed error, even though a scope is not used in the commit message.
Config
rules:
scope:
level: error
options: []
scope-empty:
level: ignoreError message
scopes are not allowed
Expected behavior
No error.
Version
$ commitlint --version
commitlint-rs 0.1.8Additional context
Trying the same with types.options: [] doesn't seem to work properly either, but let's be honest, permitting scopes but not types makes absolutely no sense at all, so I wouldn't really consider this a problem.
KeisukeYamashita
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working