Lintr searches for settings for a given source file in the following order.
options defined as
linter.setting
.linter_file
in the same directorylinter_file
in the project directorylinter_file
in the user home directory
Details
The default linter_file name is .lintr
but it can be changed with option lintr.linter_file
.
This file is a dcf file, see base::read.dcf()
for details.