lib/rules/script-indent.js
function inTemplateTag(line) {
                if (line <= 1) {
                    return false
                }
                const lineStartIndex = sourceCode.getIndexFromLoc({
                    line,
                    column: 0,
                })
                return microTemplateService.inTemplateTag(lineStartIndex - 1)
            }
function inTemplateTag(line) {
                if (line <= 1) {
                    return false
                }
                const lineStartIndex = sourceCode.getIndexFromLoc({
                    line,
                    column: 0,
                })
                return microTemplateService.inTemplateTag(lineStartIndex - 1)
            }
function inTemplateTag ( line ) { if ( line <= 1 ) { return false } const lineStartIndex = sourceCode . getIndexFromLoc ( { line , column : 0 , } ) return microTemplateService . inTemplateTag ( lineStartIndex - 1 ) }
Check whether the line start is in template tag.
@param {number} line The line.
@returns {boolean} `true` if the line start is in template tag.
Check whether the line start is in template tag .