mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Add 2 missing trailing semicolons.
This commit is contained in:
parent
ab0ea70b7f
commit
4c7cc9c326
3 changed files with 4 additions and 4 deletions
|
@ -2443,7 +2443,7 @@ function lintContent(
|
|||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
};
|
||||
// eslint-disable-next-line jsdoc/require-jsdoc
|
||||
function formatResults() {
|
||||
// Sort results by rule name by line number
|
||||
|
@ -5709,7 +5709,7 @@ module.exports = {
|
|||
const openingFence = tokenIfType(fencedCode.children[0], "codeFencedFence");
|
||||
if (openingFence) {
|
||||
const { children, startLine, text } = openingFence;
|
||||
const info = getTokenTextByType(children, "codeFencedFenceInfo")
|
||||
const info = getTokenTextByType(children, "codeFencedFenceInfo");
|
||||
if (!info) {
|
||||
addErrorContext(onError, startLine, text);
|
||||
} else if ((allowed.length > 0) && !allowed.includes(info)) {
|
||||
|
|
|
@ -752,7 +752,7 @@ function lintContent(
|
|||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
};
|
||||
// eslint-disable-next-line jsdoc/require-jsdoc
|
||||
function formatResults() {
|
||||
// Sort results by rule name by line number
|
||||
|
|
|
@ -27,7 +27,7 @@ module.exports = {
|
|||
const openingFence = tokenIfType(fencedCode.children[0], "codeFencedFence");
|
||||
if (openingFence) {
|
||||
const { children, startLine, text } = openingFence;
|
||||
const info = getTokenTextByType(children, "codeFencedFenceInfo")
|
||||
const info = getTokenTextByType(children, "codeFencedFenceInfo");
|
||||
if (!info) {
|
||||
addErrorContext(onError, startLine, text);
|
||||
} else if ((allowed.length > 0) && !allowed.includes(info)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue