diff --git a/.lintr b/.lintr index 2738e5de..4ed85a5d 100644 --- a/.lintr +++ b/.lintr @@ -14,8 +14,15 @@ linters: c( ) ) exclude_linter: r"{^ *: *([\w, ]*)(.|$)}" -exclusions: list( - "R/0_linters.R" = list( - "nolint_position_linter" = Inf - ) +exclusions: c( + list( + "R/0_linters.R" = list( + "nolint_position_linter" = Inf + ) + ), + if (file.exists(".lintr_exclusions.R")) { + source(".lintr_exclusions.R")$value + } else { + list() + } )