Skip to content

indentation_linter() should support native pipe #1792

Closed
@AshesITR

Description

@AshesITR
lintr::lint(text = "a |>\n  foo()")
#> <text>:2:2: style: [indentation_linter] Indentation should be 0 spaces but is 2 spaces.
#>   foo()
#> ~^
lintr::lint(text = "a %>%\n  foo()")

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions