index.js
function formatMessage (message) {
  return '<error' +
    attr(message, 'line') +
    attr(message, 'column') +
    attr(message, 'severity') +
    attr(message, 'message') +
    ('source' in message ? attr(message, 'source') : '') +
    ' />'
}
function formatMessage (message) {
  return '<error' +
    attr(message, 'line') +
    attr(message, 'column') +
    attr(message, 'severity') +
    attr(message, 'message') +
    ('source' in message ? attr(message, 'source') : '') +
    ' />'
}
function formatMessage ( message ) { return '<error' + attr ( message , 'line' ) + attr ( message , 'column' ) + attr ( message , 'severity' ) + attr ( message , 'message' ) + ( 'source' in message ? attr ( message , 'source' ) : '' ) + ' />' }
Format error line.

@param {object} message Message object to format
@return {string}
Format error line .