Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommitMessageRule

CommitMessageRule checks all commits title according to a regular expression and an optional max size.

returns

return a RuleResult object

Hierarchy

  • Rule
    • CommitMessageRule

Index

Constructors

constructor

Properties

enabled

enabled: boolean

events

events: GitEventEnum[] = [GitEventEnum.Push]

Private googleAnalytics

googleAnalytics: Visitor

name

name: string

onBoth

onBoth: OnSuccessError[]

onError

onError: OnSuccessError[]

onSuccess

onSuccess: OnSuccessError[]

options

Methods

displayRule

  • displayRule(): void

isEnabled

  • isEnabled(webhook: Webhook, ruleConfig: any): false

validate

Generated using TypeDoc