function reportIfEmpty(node) {
			const name = astUtils.getFunctionNameWithKind(node);
			const innerComments = sourceCode.getTokens(node.body, {
				includeComments: true,
				filter: astUtils.isCommentToken,
			});

			if (
				!isAllowedEmptyFunction(node) &&
				node.body.type === "BlockStatement" &&
				node.body.body.length === 0 &&
				innerComments.length === 0
			) {
				context.report({
					node,
					loc: node.body.loc,
					messageId: "unexpected",
					data: { name },
				});
			}
		}
Reports a given function node if the node matches the following patterns.

- Not allowed by options.
- The body is empty.
- The body doesn't have any comments.
@param {ASTNode} node A function node to report. This is one of
     an ArrowFunctionExpression, a FunctionDeclaration, or a
     FunctionExpression.
@returns {void}