% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lint.R
\name{lint}
\alias{lint}
\title{Lint all source files in a package.}
\usage{
lint(pkg = ".", cache = TRUE, ...)
}
\arguments{
\item{pkg}{The package to use, can be a file path to the package or a
package object.  See \code{\link[=as.package]{as.package()}} for more information.}

\item{cache}{store the lint results so repeated lints of the same content
use the previous results.}

\item{...}{additional arguments passed to \code{\link[lintr:lint_package]{lintr::lint_package()}}}
}
\description{
The default linters correspond to the style guide at
\url{https://style.tidyverse.org/}, however it is possible to
override any or all of them using the \code{linters} parameter.
}
\details{
The lintr cache is by default stored in \verb{~/.R/lintr_cache/} (this can
be configured by setting \code{options(lintr.cache_directory)}).  It can be
cleared by calling \code{\link[lintr:clear_cache]{lintr::clear_cache()}}.
}
\seealso{
\code{\link[lintr:lint_package]{lintr::lint_package()}}, \code{\link[lintr:lint_file]{lintr::lint()}}
}
