Skip to content

Commit

Permalink
chore: fix .lintr config (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-muecke authored Aug 3, 2024
1 parent 5978270 commit c914d90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .lintr
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
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)
line_length_linter = line_length_linter(120L)
)

0 comments on commit c914d90

Please sign in to comment.