dev: add linter rule for Refs: in commit footer
+ No colon. + One ref per line. Bad: Refs: A B C Ref: X Y Ref: Z Good: Ref A Ref B Ref C Ref X Ref Y Ref Z
This commit is contained in:
parent
ccd20847c7
commit
5d1d0fc7c9
1 changed files with 2 additions and 2 deletions
|
@ -92,9 +92,9 @@
|
|||
;; TODO Add bump validations for revert: type.
|
||||
|
||||
(cons (lambda ()
|
||||
(re-search-forward "^\\(\\(Fix\\|Clos\\|Revert\\)ed\\|Reference[sd]\\): "
|
||||
(re-search-forward "^\\(\\(Fix\\|Clos\\|Revert\\)ed\\|Reference[sd]\\|Refs\\): "
|
||||
nil t))
|
||||
"Use present tense/imperative voice for references, without a colon")
|
||||
"Use present tense/imperative voice for footer references, without a colon")
|
||||
|
||||
;; TODO Check that bump/revert SUMMARY list: 1) valid modules and 2)
|
||||
;; modules whose files are actually being touched.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue