mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
5db63ceacd
if the commit header is not present in the list of
the component we maintain. the commitlint check should
show error instead of showing the warning.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 52243d0140
)
31 lines
697 B
YAML
31 lines
697 B
YAML
---
|
|
# rules are documented at https://commitlint.js.org/#/reference-rules
|
|
# each rule has a n arry of three values:
|
|
# - 0, 1, 2 (rule is disabled, warning or error)
|
|
# - always/never
|
|
# - value
|
|
rules:
|
|
# the subject may not exceed 72 characters
|
|
header-max-length: [2, always, 72]
|
|
# the subject may not end with a "."
|
|
header-full-stop: [2, never, "."]
|
|
# we do not use scopes for commit messages
|
|
scope-empty: [1, always]
|
|
# valid types/prefixes, see docs/development-guide.md
|
|
type-enum:
|
|
- 2
|
|
- always
|
|
- - build
|
|
- cephfs
|
|
- ci
|
|
- cleanup
|
|
- deploy
|
|
- doc
|
|
- e2e
|
|
- helm
|
|
- journal
|
|
- rbd
|
|
- rebase
|
|
- revert
|
|
- util
|