Create a minimal lintr config file with box modules support as a starting point
for customization
Usage
use_box_lintr(path = ".", type = c("basic_box", "rhino"))Arguments
- path
Path to project root where a
.lintrfile should be created. If the.lintrfile already exists, an error will be thrown.- type
The kind of configuration to create
basic_boxcreates a minimal lintr config based on thetidyverseconfiguration oflintr. This starts withlintr::linters_with_defaults()and is customized forboxmodule compatibilityrhinocreates a lintr config based on the Rhino style guide
