Add lint_package support to lintr

This commit is contained in:
Fenner Macrae 2018-02-04 10:57:52 -08:00
parent 33b3331b04
commit dda132c1a2
3 changed files with 33 additions and 2 deletions

View file

@ -16,5 +16,14 @@ g:ale_r_lintr_options *g:ale_r_lintr_options*
options. Consult the lintr documentation for more information.
g:ale_r_lintr_lint_package *g:ale_r_lintr_lint_package*
*b:ale_r_lintr_lint_package*
Type: |Number|
Default: `0`
When set to `1`, the file will be checked with `lintr::lint_package` instead
of `lintr::lint`. This prevents erroneous namespace warnings when linting
package files.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: