Takes the set of active linters (see addLinter()
), and applies
them to all files within a project.
lint(project, files = NULL, appPrimaryDoc = NULL)
Path to a project directory.
Specific files to lint. Can be NULL, in which case all the files in the directory will be linted.
The primary file in the project directory. Can be NULL, in which case it's inferred (if possible) from the directory contents.