Thanks to visit codestin.com
Credit goes to github.com

Skip to content

... should come 2nd in lint_dir() #935

@MichaelChirico

Description

@MichaelChirico

Now, if we want to run lint_dir() for only a specific linter, we have to somewhat awkwardly pass the default argument to relative_path:

lintr::lint_dir("/path/to/dir", TRUE, lintr::specific_linter())

I think this goes against the tidyverse design principle where ... is considered "data":

https://design.tidyverse.org/args-data-details.html

Since the next release is a major version bump, I think we can make the change now and try and fix whoever's broken, hopefully few if any people rely on this anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions