code: function isErrorMessage(message) {
  	const level = message.fatal ? 2 : message.severity;
  
  	if (Array.isArray(level)) {
  		return level[0] > 1;
  	}
  
  	return level > 1;
  }
docs: Determine if a message is an error
  
  @param {Object} message - an ESLint message
  @returns {Boolean} whether the message is an error message