lib/rules/func-names.js
function reportUnexpectedUnnamedFunction(node) {
            context.report({
                node,
                messageId: "unnamed",
                data: { name: astUtils.getFunctionNameWithKind(node) }
            });
        }
function reportUnexpectedUnnamedFunction(node) {
            context.report({
                node,
                messageId: "unnamed",
                data: { name: astUtils.getFunctionNameWithKind(node) }
            });
        }
function reportUnexpectedUnnamedFunction ( node ) { context . report ( { node , messageId : "unnamed" , data : { name : astUtils . getFunctionNameWithKind ( node ) } } ) ; }
Reports that an unnamed function should be named
@param {ASTNode} node - The node to report in the event of an error.
@returns {void}
Reports that an unnamed function should be named