Add 2 missing trailing semicolons.

This commit is contained in:
David Anson 2024-03-20 20:24:55 -07:00
parent ab0ea70b7f
commit 4c7cc9c326
3 changed files with 4 additions and 4 deletions

View file

@ -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)) {

View file

@ -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

View file

@ -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)) {