lib/rules/no-multi-spaces-in-script.js
function getTemplateTagByToken(token) {
            return microTemplateService
                .getMicroTemplateTokens()
                .find(
                    t =>
                        t.expressionStart.range[1] <= token.range[0] &&
                        token.range[0] < t.expressionEnd.range[0]
                )
        }
function getTemplateTagByToken(token) {
            return microTemplateService
                .getMicroTemplateTokens()
                .find(
                    t =>
                        t.expressionStart.range[1] <= token.range[0] &&
                        token.range[0] < t.expressionEnd.range[0]
                )
        }
function getTemplateTagByToken ( token ) { return microTemplateService . getMicroTemplateTokens ( ) . find ( t => t . expressionStart . range [ 1 ] <= token . range [ 0 ] && token . range [ 0 ] < t . expressionEnd . range [ 0 ] ) }
Get the template tag token containing a script.
@param {Token} token The script token.
@returns {Token} The token if found or null if not found.
Get the template tag token containing a script .