lib/rules/html-indent.js
function setOffsetToLoc(loc, offset, baseline) {
            if (baseline >= loc.line) {
                return
            }
            const actualText = getActualLineIndentText(loc.line)
            if (actualText.length !== loc.column) {
                return
            }
            offsets.set(loc.line, {
                actualText,
                baseline,
                offset,
                expectedIndent: undefined,
            })
        }
function setOffsetToLoc(loc, offset, baseline) {
            if (baseline >= loc.line) {
                return
            }
            const actualText = getActualLineIndentText(loc.line)
            if (actualText.length !== loc.column) {
                return
            }
            offsets.set(loc.line, {
                actualText,
                baseline,
                offset,
                expectedIndent: undefined,
            })
        }
function setOffsetToLoc ( loc , offset , baseline ) { if ( baseline >= loc . line ) { return } const actualText = getActualLineIndentText ( loc . line ) if ( actualText . length !== loc . column ) { return } offsets . set ( loc . line , { actualText , baseline , offset , expectedIndent : undefined , } ) }
Set offset to the given location.
@param {Location} loc The start index to set.
@param {number} offset The offset of the tokens.
@param {number} baseline The line of the base offset.
@returns {void}
Set offset to the given location .