use_lintr {lintr} | R Documentation |
Use lintr in your project
Description
Create a minimal lintr config file as a starting point for customization
Usage
use_lintr(path = ".", type = c("tidyverse", "full"))
Arguments
path |
Path to project root, where a |
type |
What kind of configuration to create?
|
Value
Path to the generated configuration, invisibly.
See Also
vignette("lintr")
for detailed introduction to using and configuring lintr.
Examples
if (FALSE) {
# use the default set of linters
lintr::use_lintr()
# or try all linters
lintr::use_lintr(type = "full")
# then
lintr::lint_dir()
}
[Package lintr version 3.1.2 Index]