From 7d45297d11617a5bfed0999b69efb5c582855b33 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Fri, 30 Jun 2023 17:32:52 -0700 Subject: [PATCH] Update .lintr for >=3.0.0 --- .lintr | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.lintr b/.lintr index 8884d2970f..b05b6eb44c 100644 --- a/.lintr +++ b/.lintr @@ -1,10 +1,9 @@ -linters: with_defaults( +linters: modify_defaults( # lintr defaults: https://github.com/jimhester/lintr#available-linters # the following setup changes/removes certain linters assignment_linter = NULL, # do not force using <- for assignments object_name_linter = object_name_linter(c("snake_case", "CamelCase")), # only allow snake case and camel case object names cyclocomp_linter = NULL, # do not check function complexity commented_code_linter = NULL, # allow code in comments - todo_comment_linter = NULL, line_length_linter = line_length_linter(120) )