The loop here: https://github.com/r-lib/lintr/blob/72eeefd87596ea7fa72ee1a8b14bcb82d322c381/R/indentation_linter.R#L297-L302 Can be replaced with `ranges = apply(lint_ranges, 1L, list, simplify = FALSE)` per @AshesITR.