function checkRejectCall(callExpression) {
			if (!callExpression.arguments.length && allowEmptyReject) {
				return;
			}
			if (
				!callExpression.arguments.length ||
				!astUtils.couldBeError(callExpression.arguments[0]) ||
				(callExpression.arguments[0].type === "Identifier" &&
					callExpression.arguments[0].name === "undefined")
			) {
				context.report({
					node: callExpression,
					messageId: "rejectAnError",
				});
			}
		}
Checks the argument of a reject() or Promise.reject() CallExpression, and reports it if it can't be an Error
@param {ASTNode} callExpression A CallExpression node which is used to reject a Promise
@returns {void}