Rule
Defines how to analyze entities for a single best practice.
Type Parameters
Section titled “Type Parameters”About extends RuleAbout = RuleAbout
Properties
Section titled “Properties”about:
About
Metadata about the rule.
comment?
Section titled “comment?”
optionalcomment:RuleListener<CommentEntity>
Callback to run if the entity is a comment.
discussion?
Section titled “discussion?”
optionaldiscussion:RuleListener<DiscussionEntity>
Callback to run if the entity is a discussion.
issue?
Section titled “issue?”
optionalissue:RuleListener<IssueEntity>
Callback to run if the entity is a issue.
pullRequest?
Section titled “pullRequest?”
optionalpullRequest:RuleListener<PullRequestEntity>
Callback to run if the entity is a pull request.