mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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.
|
||||
|
Reference in New Issue
Block a user