function createErrorList({ suggestionOutput: output } = {}) {
	// pending https://github.com/eslint/espree/issues/304, the type should be "Keyword"
	return [
		{
			messageId: "redundantUseOfAwait",
			type: "Identifier",
			suggestions: output
				? [
						{
							messageId: "removeAwait",
							output,
						},
					]
				: [],
		},
	];
}
Creates the list of errors that should be found by this rule
@param {Object} options Options for creating errors
@param {string} options.suggestionOutput The suggested output
@returns {Array} the list of errors