Skip to content

Commit 670dc71

Browse files
tidy up .lintr
1 parent 872277d commit 670dc71

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

.lintr

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
linters: all_linters(
2-
fixed_regex_linter(),
3-
function_argument_linter(),
2+
# TODO(michaelchirico): switch to '='.
3+
# assignment_linter('='),
44
implicit_assignment_linter(allow_lazy = TRUE, allow_scoped = TRUE),
55
implicit_integer_linter(allow_colon = TRUE),
66
infix_spaces_linter(exclude_operators = c("=", "*", "/")),
77
line_length_linter(120L),
8-
string_boundary_linter(),
9-
# undesirable_function_linter(modify_defaults(
10-
# default_undesirable_functions,
11-
# sapply = NA
12-
# )),
13-
# TODO(michaelchirico): Enable after #2245
14-
# unnecessary_nested_if_linter(),
15-
assignment_linter = NULL,
168
# TODO(michaelchirico): reactivate this and spaces_inside_linter()
179
# once they support 'empty' i argument DT[ , j]
1810
commas_linter = NULL,
@@ -25,7 +17,7 @@ linters: all_linters(
2517
keyword_quote_linter = NULL,
2618
nonportable_path_linter = NULL,
2719
object_name_linter = NULL,
28-
quotes_linter = NULL, # TODO(michaelchirico): switch to "'",
20+
quotes_linter = NULL, # TODO(michaelchirico): switch to "'"
2921
spaces_inside_linter = NULL,
3022
todo_comment_linter = NULL # TODO(michaelchirico): [hehe] activate this & assign TODOs bugs
3123
)

0 commit comments

Comments
 (0)