function getBlockStatementAncestors(node) {
      return getAncestors(context, node).filter(
        (ancestor) => ancestor.type === 'BlockStatement'
      ).reverse();
    }
@param {string | number} violationType
@param {unknown} variableName
@param {string | number} blockStart