lib/rules/no-duplicate-attributes.js
function report(node) {
            const name = node.key
            context.report({
                node,
                loc: node.loc,
                messageId: "duplicate",
                data: { name },
            })
        }
function report(node) {
            const name = node.key
            context.report({
                node,
                loc: node.loc,
                messageId: "duplicate",
                data: { name },
            })
        }
function report ( node ) { const name = node . key context . report ( { node , loc : node . loc , messageId : "duplicate" , data : { name } , } ) }
Report warning the given attribute node.
@param  {Node} node The attribute node
@returns {void}
Report warning the given attribute node .