lib/rules/no-duplicate-attributes.js
function validateAttrs(attrs) {
            const attributes = groupByName(attrs)
            attributes.forEach((nodes, name) => {
                validateNameGroup(nodes, name)
            })
        }
function validateAttrs(attrs) {
            const attributes = groupByName(attrs)
            attributes.forEach((nodes, name) => {
                validateNameGroup(nodes, name)
            })
        }
function validateAttrs ( attrs ) { const attributes = groupByName ( attrs ) attributes . forEach ( ( nodes , name ) => { validateNameGroup ( nodes , name ) } ) }
Validate attribute nodes
@param  {Array} attrs The attribute nodes
@returns {void}
Validate attribute nodes