-
Notifications
You must be signed in to change notification settings - Fork 195
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
Running lint_package(linters = object_name_linter()) on current master of lintr:
R/utils.R:224:1: style: Variable and function name style should be snake_case or symbols.
Linter <- function(fun) { # nolint: object_name_linter.
^~~~~~
and a couple of similar issues.
Note that if the nolint comment for Linter in R/utils.R is changed, removing the terminal dot:
# R/utils.R
Linter <- function(fun) { # nolint: object_name_linter
# blah
}
... no lint is thrown for the name Linter
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior