Skip to content

object_name_linter() not detecting all generics #1841

Closed
@AshesITR

Description

@AshesITR
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    false-positivecode that shouldn't lint, but does

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions