function getMessagesForLineNumber(messages, lineNumber) {
  return messages.filter(h => h.lineNumber === lineNumber);
}
@param {LH.Audit.Details.SnippetValue["lineMessages"]} messages
@param {number} lineNumber