Skip to content

Pretty-prints a linter message. Primarily used as a helper for constructing linter messages with linter().

Usage

makeLinterMessage(header, content, lines)

Arguments

header

A header message describing the linter.

content

The content of the file that was linted.

lines

The line numbers from content that contain lint.