Skip to content

Commit c7f6f7b

Browse files
Add lintr config file
Related to #1055
1 parent e75bcf1 commit c7f6f7b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.lintr

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
linters: linters_with_defaults(
2+
commented_code_linter = NULL,
3+
cyclocomp_linter = cyclocomp_linter(25),
4+
line_length_linter(120),
5+
object_name_linter = NULL,
6+
object_length_linter(50),
7+
object_usage_linter = NULL,
8+
todo_comment_linter = NULL,
9+
extraction_operator_linter = NULL,
10+
undesirable_function_linter = NULL,
11+
undesirable_operator_linter = NULL,
12+
defaults = linters_with_tags(tags = NULL)
13+
)
14+
exclusions: list(
15+
"inst",
16+
"man",
17+
"tests"
18+
)

0 commit comments

Comments
 (0)