MCPcopy
hub / github.com/prettier/prettier / forceNextEmptyLine

Function forceNextEmptyLine

src/language-html/utilities/index.js:244–251  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

242}
243
244function forceNextEmptyLine(node) {
245 return (
246 isFrontMatter(node) ||
247 (node.next &&
248 node.sourceSpan.end &&
249 node.sourceSpan.end.line + 1 < node.next.sourceSpan.start.line)
250 );
251}
252
253/** firstChild leadingSpaces and lastChild trailingSpaces */
254function forceBreakContent(node) {

Callers 1

printChildrenFunction · 0.90

Calls 1

isFrontMatterFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…