code: function format(text) {
      const lintResult = linter.executeOnText(text)
      return lintResult.results[0].output || text
  }
docs: Format a given text.
  @param {string} text The text to format.
  @returns {string} The formatted text.