use_lintr {lintr} | R Documentation |
Create a minimal lintr config file as a starting point for customization
use_lintr(path = ".", type = c("tidyverse", "full"))
path |
Path to project root, where a |
type |
What kind of configuration to create?
|
Path to the generated configuration, invisibly.
vignette("lintr")
for detailed introduction to using and configuring lintr.
## Not run:
# use the default set of linters
lintr::use_lintr()
# or try all linters
lintr::use_lintr(type = "full")
# then
lintr::lint_dir()
## End(Not run)