reportLine method
Reports a violation at the start of the one-based line, described
by message.
Implementation
void reportLine(int line, String message) {
violations.add(
StyleViolation(
ruleId: ruleId,
path: file.path,
line: line,
column: 1,
message: message,
),
);
}