-
Notifications
You must be signed in to change notification settings - Fork 7
/
.lintr
38 lines (38 loc) · 1.14 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
linters: with_defaults(
#------ DEFAULT LINTERS
assignment_linter,
closed_curly_linter(allow_single_line = TRUE),
commas_linter,
commented_code_linter,
equals_na_linter,
function_left_parentheses_linter,
infix_spaces_linter,
line_length_linter(80L),
no_tab_linter,
object_length_linter,
object_usage_linter,
open_curly_linter,
paren_brace_linter,
pipe_continuation_linter,
seq_linter,
single_quotes_linter,
spaces_inside_linter,
spaces_left_parentheses_linter,
trailing_blank_lines_linter,
trailing_whitespace_linter,
#--- Turn off default linters for now:
object_name_linter = NULL,
cyclocomp_linter = NULL,
#------ NON-DEFAULT LINTERS
#--- Not activated non-default linters:
#extraction_operator_linter,
#implicit_integer_linter,
#todo_comment_linter,
#nonportable_path_linter(lax = TRUE), # see https://github.com/jimhester/lintr/issues/468
#--- Activated non-default linters:
absolute_path_linter(lax = TRUE),
T_and_F_symbol_linter,
semicolon_terminator_linter(semicolon = c("compound", "trailing")),
undesirable_function_linter,
undesirable_operator_linter,
unneeded_concatenation_linter)