scripts/lib/utils.js
function format(text) {
    const lintResult = linter.executeOnText(text)
    return lintResult.results[0].output || text
}
function format(text) {
    const lintResult = linter.executeOnText(text)
    return lintResult.results[0].output || text
}
function format ( text ) { const lintResult = linter . executeOnText ( text ) return lintResult . results [ 0 ] . output || text }
Format a given text.
@param {string} text The text to format.
@returns {string} The formatted text.
Format a given text .