lintr icon indicating copy to clipboard operation
lintr copied to clipboard

Parsing source files on excluded files

Open csgillespie opened this issue 5 years ago • 6 comments

When I call lintr::lint on a file, it runs get_source_expression regardless if the file should be excluded

I think if we move the get_source_expression down a few lines, this should solve the issue.


The use case here is I run lintr::lint on a bunch of .Rmd files. But occasionally I want to exclude the files from linting.

csgillespie avatar Jun 30 '20 10:06 csgillespie