MCPcopy
hub / github.com/prettier/prettier / adjustStrings

Function adjustStrings

src/language-css/print/misc.js:24–26  ·  view source on GitHub ↗
(value, options)

Source from the content-addressed store, hash-verified

22);
23
24function adjustStrings(value, options) {
25 return value.replaceAll(STRING_REGEX, (match) => printString(match, options));
26}
27
28function quoteAttributeValue(value, options) {
29 const quote = options.singleQuote ? "'" : '"';

Callers 1

genericPrintFunction · 0.90

Calls 1

printStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…