lib/rules/no-multi-spaces-in-html-tag.js
function startTagToTokens(startTag) {
            const tokens = [startTag.tagOpen]

            for (const attr of startTag.attributes) {
                tokens.push(attr)
            }

            tokens.push(startTag.tagClose)

            return tokens
                .filter(t => Boolean(t))
                .sort((a, b) => a.range[0] - b.range[0])
        }
function startTagToTokens(startTag) {
            const tokens = [startTag.tagOpen]

            for (const attr of startTag.attributes) {
                tokens.push(attr)
            }

            tokens.push(startTag.tagClose)

            return tokens
                .filter(t => Boolean(t))
                .sort((a, b) => a.range[0] - b.range[0])
        }
function startTagToTokens ( startTag ) { const tokens = [ startTag . tagOpen ] for ( const attr of startTag . attributes ) { tokens . push ( attr ) } tokens . push ( startTag . tagClose ) return tokens . filter ( t => Boolean ( t ) ) . sort ( ( a , b ) => a . range [ 0 ] - b . range [ 0 ] ) }
Convert start tag to Tokens array
@param  {HTMLStartTag} startTag The start tag
@returns {Array} Then tokens
Convert start tag to Tokens array