Skip to content

object_name_linter() not detecting all generics #1841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AshesITR opened this issue Dec 13, 2022 · 0 comments · Fixed by #1842
Closed

object_name_linter() not detecting all generics #1841

AshesITR opened this issue Dec 13, 2022 · 0 comments · Fixed by #1842
Labels
false-positive code that shouldn't lint, but does

Comments

@AshesITR
Copy link
Collaborator

lintr::lint(text = "`==.snake_case` <- function(a, b) a + b")
#> <text>:1:1: style: [object_name_linter] Variable and function name style should match snake_case or symbols.
#> `==.snake_case` <- function(a, b) a + b
#> ^~~~~~~~~~~~~~~

Created on 2022-12-13 with reprex v2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
false-positive code that shouldn't lint, but does
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant