Skip to content

Commit

Permalink
fix(commitlint): Disable scope-case checks
Browse files Browse the repository at this point in the history
Scopes with mixed case like "FossID" should be allowed, but they seem to
match none of the supported case styles [1], so simply disable the rule
completely, even if that allows unwanted spaces in the scope name.

[1]: https://github.com/conventional-changelog/commitlint/blob/master/docs/reference-rules.md#scope-case

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Jan 20, 2023
1 parent 1dec96e commit b727b8c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .commitlintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,7 @@ rules:
- always
- 75
scope-case:
- 2
- always
- - camel-case
- kebab-case
- lower-case
- pascal-case
- snake-case
- upper-case
- 0
subject-case:
- 1
- always
Expand Down

0 comments on commit b727b8c

Please sign in to comment.