chore: Enable eslint to enforce curly (#3060)
This commit is contained in:
@@ -26,7 +26,9 @@ export default function markdownBreakToParagraphs(md: MarkdownIt) {
|
||||
const children = tokenChildren.filter((child) => !isHardbreak(child));
|
||||
|
||||
let count = matches.length;
|
||||
if (children.length) count++;
|
||||
if (children.length) {
|
||||
count++;
|
||||
}
|
||||
|
||||
for (let i = 0; i < count; i++) {
|
||||
const isLast = i === count - 1;
|
||||
|
||||
Reference in New Issue
Block a user