mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01: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;
|
return null;
|
||||||
}
|
};
|
||||||
// eslint-disable-next-line jsdoc/require-jsdoc
|
// eslint-disable-next-line jsdoc/require-jsdoc
|
||||||
function formatResults() {
|
function formatResults() {
|
||||||
// Sort results by rule name by line number
|
// Sort results by rule name by line number
|
||||||
|
|
@ -5709,7 +5709,7 @@ module.exports = {
|
||||||
const openingFence = tokenIfType(fencedCode.children[0], "codeFencedFence");
|
const openingFence = tokenIfType(fencedCode.children[0], "codeFencedFence");
|
||||||
if (openingFence) {
|
if (openingFence) {
|
||||||
const { children, startLine, text } = openingFence;
|
const { children, startLine, text } = openingFence;
|
||||||
const info = getTokenTextByType(children, "codeFencedFenceInfo")
|
const info = getTokenTextByType(children, "codeFencedFenceInfo");
|
||||||
if (!info) {
|
if (!info) {
|
||||||
addErrorContext(onError, startLine, text);
|
addErrorContext(onError, startLine, text);
|
||||||
} else if ((allowed.length > 0) && !allowed.includes(info)) {
|
} else if ((allowed.length > 0) && !allowed.includes(info)) {
|
||||||
|
|
|
||||||
|
|
@ -752,7 +752,7 @@ function lintContent(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
};
|
||||||
// eslint-disable-next-line jsdoc/require-jsdoc
|
// eslint-disable-next-line jsdoc/require-jsdoc
|
||||||
function formatResults() {
|
function formatResults() {
|
||||||
// Sort results by rule name by line number
|
// Sort results by rule name by line number
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ module.exports = {
|
||||||
const openingFence = tokenIfType(fencedCode.children[0], "codeFencedFence");
|
const openingFence = tokenIfType(fencedCode.children[0], "codeFencedFence");
|
||||||
if (openingFence) {
|
if (openingFence) {
|
||||||
const { children, startLine, text } = openingFence;
|
const { children, startLine, text } = openingFence;
|
||||||
const info = getTokenTextByType(children, "codeFencedFenceInfo")
|
const info = getTokenTextByType(children, "codeFencedFenceInfo");
|
||||||
if (!info) {
|
if (!info) {
|
||||||
addErrorContext(onError, startLine, text);
|
addErrorContext(onError, startLine, text);
|
||||||
} else if ((allowed.length > 0) && !allowed.includes(info)) {
|
} else if ((allowed.length > 0) && !allowed.includes(info)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue