Skip to content
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

indentation_linter() should support native pipe #1792

Closed
AshesITR opened this issue Dec 5, 2022 · 0 comments · Fixed by #1793
Closed

indentation_linter() should support native pipe #1792

AshesITR opened this issue Dec 5, 2022 · 0 comments · Fixed by #1793

Comments

@AshesITR
Copy link
Collaborator

AshesITR commented Dec 5, 2022

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

@AshesITR AshesITR added this to the 3.0.3 milestone Dec 5, 2022
AshesITR added a commit that referenced this issue Dec 5, 2022
@MichaelChirico MichaelChirico modified the milestones: 3.0.3, 3.1.0 Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants