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

missing_argument_linter() throws for 0-arg call with a comment #2741

Closed
MichaelChirico opened this issue Feb 13, 2025 · 0 comments · Fixed by #2754
Closed

missing_argument_linter() throws for 0-arg call with a comment #2741

MichaelChirico opened this issue Feb 13, 2025 · 0 comments · Fixed by #2754
Labels
false-positive code that shouldn't lint, but does
Milestone

Comments

@MichaelChirico
Copy link
Collaborator

lint("mutate( # comment\n)", missing_argument_linter())
# <text>:2:1: style: [missing_argument_linter] Missing argument 1 in function call.
# )
# ^

# vs. with no comment
lint("mutate(\n)", missing_argument_linter())
# ℹ No lints found.
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