-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lintr
100 lines (100 loc) · 2.52 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
exclusions: list(
"vignettes/"
)
linters: linters_with_defaults(
# absolute_path_linter(),
# consecutive_blank_linter = NULL,
# cyclocomp_linter = NULL,
# lengths_linter(),
# nonportable_path_linter(),
# object_length_linter = NULL,
# object_usage_linter = NULL,
# pipe_continuation_linter = NULL,
# string_boundary_linter(),
# trailing_whitespace_linter = NULL,
# undesirable_function_linter(),
# implicit_integer_linter(),
any_is_na_linter(),
assignment_linter(),
boolean_arithmetic_linter(),
brace_linter(),
class_equals_linter(),
commas_linter(),
commented_code_linter = NULL,
comparison_negation_linter(),
condition_call_linter(),
condition_message_linter(),
consecutive_assertion_linter(),
consecutive_mutate_linter(),
empty_assignment_linter(),
equals_na_linter(),
for_loop_index_linter(),
function_argument_linter(),
function_left_parentheses_linter(),
if_not_else_linter(),
if_switch_linter(),
ifelse_censor_linter(),
implicit_assignment_linter(),
indentation_linter = NULL,
infix_spaces_linter(),
inner_combine_linter(),
is_numeric_linter(),
keyword_quote_linter(),
length_levels_linter(),
length_test_linter(),
library_call_linter(),
line_length_linter(80),
list_comparison_linter(),
literal_coercion_linter(),
matrix_apply_linter(),
missing_argument_linter(),
namespace_linter(),
nested_ifelse_linter(),
nested_pipe_linter(),
nrow_subset_linter(),
numeric_leading_zero_linter(),
nzchar_linter(),
object_name_linter = NULL,
one_call_pipe_linter(),
outer_negation_linter(),
package_hooks_linter(),
paren_body_linter(),
paste_linter(),
pipe_call_linter(),
pipe_consistency_linter(),
pipe_continuation_linter(),
pipe_return_linter(),
print_linter(),
quotes_linter(),
redundant_equals_linter(),
redundant_ifelse_linter(),
rep_len_linter(),
repeat_linter(),
return_linter = NULL,
sample_int_linter(),
scalar_in_linter(),
semicolon_linter(),
seq_linter(),
sort_linter(),
spaces_inside_linter(),
spaces_left_parentheses_linter(),
sprintf_linter(),
stopifnot_all_linter(),
strings_as_factors_linter(),
system_file_linter(),
T_and_F_symbol_linter(),
terminal_close_linter(),
todo_comment_linter(),
trailing_blank_lines_linter(),
trailing_whitespace_linter(),
undesirable_operator_linter(),
unnecessary_lambda_linter(),
unnecessary_nesting_linter(),
unnecessary_placeholder_linter(),
unreachable_code_linter(),
unused_import_linter(),
vector_logic_linter(),
which_grepl_linter(),
whitespace_linter(),
unnecessary_concatenation_linter(allow_single_expression = FALSE)
)