Skip to content

Commit 159234d

Browse files
explicitly disable cyclocomp_linter under "hard mode"
1 parent b50e4e2 commit 159234d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.lintr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ linters: all_linters(
3838
`<<-` = NULL
3939
)),
4040
unnecessary_concatenation_linter(allow_single_expression = FALSE),
41+
cyclocomp_linter = if (requireNamespace("cyclocomp", quietly = TRUE)) cyclocomp_linter(),
4142
absolute_path_linter = NULL,
4243
library_call_linter = NULL,
4344
nonportable_path_linter = NULL,

0 commit comments

Comments
 (0)