Learn R Programming

gitr (version 0.1.0)

lint: Common Lints for Commit Messages

Description

Lint a commit message for typical commit style and best practices for git.

Usage

lint_commit_msg(x)

Value

integer(1). Invisibly returns the number of detected lints in the message.

Arguments

x

A single commit message from gitr_commit_msgs().

Examples

Run this code
if (FALSE) {
  lapply(gitr_commit_msgs(7L), lint_commit_msg)
}

Run the code above in your browser using DataLab