mirror of
https://github.com/dense-analysis/ale
synced 2024-12-12 09:26:42 +00:00
ce0b14979e
* Add styler as a new fixer for R files * Add to the list of supported tools * Add documentation
46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
===============================================================================
|
|
ALE R Integration *ale-r-options*
|
|
|
|
|
|
===============================================================================
|
|
lintr *ale-r-lintr*
|
|
|
|
g:ale_r_lintr_options *g:ale_r_lintr_options*
|
|
*b:ale_r_lintr_options*
|
|
Type: |String|
|
|
Default: `'lintr::with_defaults()'`
|
|
|
|
This option can be configured to change the options for lintr.
|
|
|
|
The value of this option will be run with `eval` for the `lintr::lint`
|
|
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.
|
|
|
|
|
|
===============================================================================
|
|
styler *ale-r-styler*
|
|
|
|
g:ale_r_styler_options *g:ale_r_styler_options*
|
|
*b:ale_r_styler_options*
|
|
Type: |String|
|
|
Default: `'styler::tidyverse_style'`
|
|
|
|
This option can be configured to change the options for styler.
|
|
|
|
The value of this option will be used as the `style` argument for the
|
|
`styler::style_file` options. Consult the styler documentation
|
|
for more information.
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|