Skip to content

Find changed files and apply a different .lintr config  #641

Closed
@dragosmg

Description

@dragosmg

@dragosmg Do you have an idea if we could somehow (e.g. by setting options(lintr.linter_file) somewhere and doing some git magic to find changed files only) apply a different .lintr config to changed files in new PRs?

It would be awesome if the final set of linters could be automatically applied to all modified files in a PR without having to have the rest of the code lint red.

Originally posted by @AshesITR in #584 (comment)

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