-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
.lintr
11 lines (11 loc) · 650 Bytes
/
.lintr
1
2
3
4
5
6
7
8
9
10
11
linters: linters_with_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, # allow todo in comments
line_length_linter = line_length_linter(120),
object_length_linter = object_length_linter(40)
)