-
Notifications
You must be signed in to change notification settings - Fork 8
/
.lintr
75 lines (75 loc) · 2.24 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
linters: linters_with_defaults(
# Updated 2023-07-24.
# > help(topic = "linters", package = "lintr")
T_and_F_symbol_linter(),
absolute_path_linter(),
any_duplicated_linter(),
any_is_na_linter(),
assignment_linter(),
backport_linter(),
brace_linter(),
class_equals_linter(),
commas_linter(),
commented_code_linter(),
condition_message_linter(),
conjunct_test_linter(),
consecutive_assertion_linter(),
cyclocomp_linter(complexity_limit = 30L),
duplicate_argument_linter(),
equals_na_linter(),
expect_comparison_linter(),
expect_identical_linter(),
expect_length_linter(),
expect_named_linter(),
expect_not_linter(),
expect_null_linter(),
expect_s3_class_linter(),
expect_s4_class_linter(),
expect_true_false_linter(),
extraction_operator_linter(),
function_left_parentheses_linter(),
ifelse_censor_linter(),
implicit_integer_linter(),
indentation_linter(indent = 4L, hanging_indent_style = "tidy"),
infix_spaces_linter(),
inner_combine_linter(),
line_length_linter(length = 80L),
literal_coercion_linter(),
missing_argument_linter(),
missing_package_linter(),
namespace_linter(),
nested_ifelse_linter(),
# This is currently returning too many false positives.
# > nonportable_path_linter = NULL,
numeric_leading_zero_linter(),
object_length_linter(length = 40L),
object_name_linter(styles = "camelCase"),
object_usage_linter(),
outer_negation_linter(),
package_hooks_linter(),
paren_body_linter(),
paste_linter(),
pipe_call_linter(),
pipe_continuation_linter(),
quotes_linter(),
redundant_ifelse_linter(),
regex_subset_linter(),
semicolon_linter(),
seq_linter(),
spaces_inside_linter(),
spaces_left_parentheses_linter(),
sprintf_linter(),
system_file_linter(),
todo_comment_linter(),
trailing_blank_lines_linter(),
trailing_whitespace_linter(),
undesirable_function_linter(),
undesirable_operator_linter(),
unnecessary_concatenation_linter(),
unreachable_code_linter(),
vector_logic_linter(),
whitespace_linter(),
yoda_test_linter())
exclude: "# nolint"
exclude_start: "# nolint start"
exclude_end: "# nolint end"