lib/rules/html-indent.js
function setOffsetRootToIndex(startIndex) {
            const loc = sourceCode.getLocFromIndex(startIndex)

            if (!offsets.has(loc.line)) {
                setOffsetToLoc(loc, 0, -1)
            }
        }
function setOffsetRootToIndex(startIndex) {
            const loc = sourceCode.getLocFromIndex(startIndex)

            if (!offsets.has(loc.line)) {
                setOffsetToLoc(loc, 0, -1)
            }
        }
function setOffsetRootToIndex ( startIndex ) { const loc = sourceCode . getLocFromIndex ( startIndex ) if ( ! offsets . has ( loc . line ) ) { setOffsetToLoc ( loc , 0 , - 1 ) } }
Set root line offset to the given index.
@param {number} startIndex The start index to set.
@returns {void}
Set root line offset to the given index .