-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lintr
36 lines (36 loc) · 1.21 KB
/
.lintr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
linters: all_linters(
indentation_linter = NULL, # unstable as of lintr 3.1.0
extraction_operator_linter = NULL, # lints auto-generated vignette setup chunks
implicit_integer_linter = NULL, # turn off due to multiple integerish values used
duplicate_argument_linter = NULL, # due to cli_bullets
object_name_linter = NULL, # due to S3 methods
object_length_linter = NULL # due to length of method names
)
exclusions: list(
"R/parameters.R" = list(
cyclocomp_linter = Inf # due to multiple if-statements in input checking
),
"R/constants.R" = list(
object_name_linter = Inf # prevent uppercase constants being linted
),
"R/ode.R" = list(
object_name_linter = Inf # prevent parameter names being linted
),
"tests/testthat.R" = list(
unused_import_linter = Inf
),
"tests/testthat/setup-options.R" = list(
undesirable_function_linter = Inf
),
"tests/testthat/test-model_helpers.R" = list(
nonportable_path_linter = Inf # due to escaping in regex
),
"vignettes" = list(
undesirable_function_linter = Inf
),
"data-raw" = list(
missing_package_linter = Inf,
namespace_linter = Inf
),
"R/cpp11.R"
)