From e6df090571a3bd843cb339ac5ac154b2805eaab9 Mon Sep 17 00:00:00 2001 From: RasmusSkytte Date: Tue, 29 Oct 2024 07:37:54 +0000 Subject: [PATCH] chore: synced file(s) with ssi-dk/AEF-DDF --- .lintr | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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() + } )