Skip to content

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

@MichaelChirico

Description

@MichaelChirico
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    false-positivecode that shouldn't lint, but does

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions