Skip to content

Commit

Permalink
chore: update .lintr config
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke committed Jun 2, 2024
1 parent 620ae81 commit 4b4ff75
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .lintr
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
linters: with_defaults(
# lintr defaults: https://github.com/jimhester/lintr#available-linters
linters: linters_with_defaults(
# lintr defaults: https://lintr.r-lib.org/reference/default_linters.html
# 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
line_length_linter = line_length_linter(120)
)

0 comments on commit 4b4ff75

Please sign in to comment.