diff --git a/.ci/lint_r_code.R b/.ci/lint_r_code.R index 8ed199a7e534..5d1615a82774 100755 --- a/.ci/lint_r_code.R +++ b/.ci/lint_r_code.R @@ -18,7 +18,7 @@ FILES_TO_LINT <- list.files( # Some linters from the lintr package have not made it to CRAN yet # We build lintr from source to address that. -linters_on_cran <- list( +LINTERS_TO_USE <- list( "closed_curly" = lintr::closed_curly_linter , "infix_spaces" = lintr::infix_spaces_linter , "long_lines" = lintr::line_length_linter(length = 120) @@ -30,11 +30,6 @@ linters_on_cran <- list( , "trailing_white" = lintr::trailing_whitespace_linter ) -LINTERS_TO_USE <- c( - linters_on_cran - , github_only_linters -) - cat(sprintf("Found %i R files to lint\n", length(FILES_TO_LINT))) results <- c()