Closed
Description
I would like {styler} to either
- ignore certain file types (in my case
.yml
files). - certain directories (in my case
inst/
).
I know this exists in style_pkg(exclude_dirs = )
. However, when invoking {styler} via {precommit}, style_file()
is called which does not have this option.
This might be a bit tricky since style_file
is explicitly called on a path by {precommit} and hence some preprocessing before calling it might need to happen?
Metadata
Metadata
Assignees
Labels
No labels