lib/rules/no-duplicate-attributes.js
function equalNode(n1, n2) {
            return (
                n1.type === n2.type &&
                n1.range[0] === n2.range[0] &&
                n1.range[1] === n2.range[1]
            )
        }
function equalNode(n1, n2) {
            return (
                n1.type === n2.type &&
                n1.range[0] === n2.range[0] &&
                n1.range[1] === n2.range[1]
            )
        }
function equalNode ( n1 , n2 ) { return ( n1 . type === n2 . type && n1 . range [ 0 ] === n2 . range [ 0 ] && n1 . range [ 1 ] === n2 . range [ 1 ] ) }
Check if the nodes equals.
@param  {Node} n1 The node
@param  {Node} n2 The node
@returns {boolean} `true` if the nodes equals.
Check if the nodes equals .