-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Repo may include a file fallbacks.yaml
that contains a configuration for styling, like this:
scope: tokens
strict: True
indent_by: 2
reindention: !expr styler::tidyverse_reindention()
math_token_spacing: !expr styler::tidyverse_math_token_spacing()
filetype: !expr c("r", "rmd")
When styler::style_pkg()
is run, such a config file is looked for in the root directory and if one is found, the options specified there should be given precedence over what is specified in the function call. Or something like that. WIP @ https://github.com/lorenzwalthert/styler/tree/config
salim-b, loganknecht, kalaschnik, eitsupi, IndrajeetPatil and 1 morepat-s