remark-lint-sentence-newline
Version:
Enforce a newline after an end of sentence in Markdown.
17 lines (16 loc) • 416 B
JavaScript
module.exports = function createMessage(line, column) {
return {
name: line + ':' + column,
file: '',
message: "Newline should follow end of sentence",
reason: "Newline should follow end of sentence",
line: line,
column: column,
location: {
start: {line: line, column: column},
end: {line: null, column: null}
},
fatal: false,
ruleId: "sentence-newline"
};
};