2018-03-31 14:55:20 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE Ruby Integration *ale-ruby-options*
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
brakeman *ale-ruby-brakeman*
|
|
|
|
|
2018-09-25 00:40:17 +00:00
|
|
|
g:ale_ruby_brakeman_executable *g:ale_ruby_brakeman_executable*
|
|
|
|
*b:ale_ruby_brakeman_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2018-09-25 00:40:17 +00:00
|
|
|
Default: `'brakeman'`
|
|
|
|
|
|
|
|
Override the invoked brakeman binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` brakeman'.
|
|
|
|
|
|
|
|
|
2018-03-31 14:55:20 +00:00
|
|
|
g:ale_ruby_brakeman_options *g:ale_ruby_brakeman_options*
|
|
|
|
*b:ale_ruby_brakeman_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
The contents of this variable will be passed through to brakeman.
|
|
|
|
|
2022-08-08 13:45:56 +00:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
cspell *ale-ruby-cspell*
|
|
|
|
|
|
|
|
See |ale-cspell-options|
|
|
|
|
|
|
|
|
|
2019-11-16 15:28:42 +00:00
|
|
|
===============================================================================
|
|
|
|
debride *ale-ruby-debride*
|
|
|
|
|
|
|
|
g:ale_ruby_debride_executable *g:ale_ruby_debride_executable*
|
|
|
|
*b:ale_ruby_debride_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2019-11-16 15:28:42 +00:00
|
|
|
Default: `'debride'`
|
|
|
|
|
|
|
|
Override the invoked debride binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` debride'.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_ruby_debride_options *g:ale_ruby_debride_options*
|
|
|
|
*b:ale_ruby_debride_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to debride.
|
|
|
|
|
|
|
|
|
2024-01-07 15:14:20 +00:00
|
|
|
===============================================================================
|
|
|
|
packwerk *ale-ruby-packwerk*
|
|
|
|
|
|
|
|
g:ale_ruby_packwerk_executable *g:ale_ruby_packwerk_executable*
|
|
|
|
*b:ale_ruby_packwerk_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'packwerk'`
|
|
|
|
|
|
|
|
Override the invoked packwerk binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` packwerk'.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_ruby_packwerk_options *g:ale_ruby_packwerk_options*
|
|
|
|
*b:ale_ruby_packwerk_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to packwerk.
|
|
|
|
|
|
|
|
|
2021-05-05 08:25:00 +00:00
|
|
|
===============================================================================
|
|
|
|
prettier *ale-ruby-prettier*
|
|
|
|
|
|
|
|
See |ale-javascript-prettier| for information about the available options.
|
|
|
|
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
rails_best_practices *ale-ruby-rails_best_practices*
|
|
|
|
|
|
|
|
g:ale_ruby_rails_best_practices_executable
|
|
|
|
*g:ale_ruby_rails_best_practices_executable*
|
|
|
|
*b:ale_ruby_rails_best_practices_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2018-09-25 00:40:17 +00:00
|
|
|
Default: `'rails_best_practices'`
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
Override the invoked rails_best_practices binary. Set this to `'bundle'` to
|
2018-09-25 00:40:17 +00:00
|
|
|
invoke `'bundle` `exec` rails_best_practices'.
|
|
|
|
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
g:ale_ruby_rails_best_practices_options
|
|
|
|
*g:ale_ruby_rails_best_practices_options*
|
|
|
|
*b:ale_ruby_rails_best_practices_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
The contents of this variable will be passed through to rails_best_practices.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
reek *ale-ruby-reek*
|
|
|
|
|
2018-09-25 00:40:17 +00:00
|
|
|
g:ale_ruby_reek_executable *g:ale_ruby_reek_executable*
|
|
|
|
*b:ale_ruby_reek_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2018-09-25 00:40:17 +00:00
|
|
|
Default: `'reek'`
|
|
|
|
|
|
|
|
Override the invoked reek binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` reek'.
|
|
|
|
|
|
|
|
|
2018-03-31 14:55:20 +00:00
|
|
|
g:ale_ruby_reek_show_context *g:ale_ruby_reek_show_context*
|
|
|
|
*b:ale_ruby_reek_show_context*
|
|
|
|
Type: |Number|
|
2022-11-20 11:21:23 +00:00
|
|
|
Default: `0`
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
Controls whether context is included in the linter message. Defaults to off
|
|
|
|
because context is usually obvious while viewing a file.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_ruby_reek_show_wiki_link *g:ale_ruby_reek_show_wiki_link*
|
|
|
|
*b:ale_ruby_reek_show_wiki_link*
|
|
|
|
Type: |Number|
|
2022-11-20 11:21:23 +00:00
|
|
|
Default: `0`
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
Controls whether linter messages contain a link to an explanatory wiki page
|
|
|
|
for the type of code smell. Defaults to off to improve readability.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
rubocop *ale-ruby-rubocop*
|
|
|
|
|
|
|
|
g:ale_ruby_rubocop_executable *g:ale_ruby_rubocop_executable*
|
|
|
|
*b:ale_ruby_rubocop_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2018-03-31 14:55:20 +00:00
|
|
|
Default: `'rubocop'`
|
|
|
|
|
2018-09-25 00:40:17 +00:00
|
|
|
Override the invoked rubocop binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` rubocop'.
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
g:ale_ruby_rubocop_options *g:ale_ruby_rubocop_options*
|
|
|
|
*b:ale_ruby_rubocop_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
2019-11-16 15:28:42 +00:00
|
|
|
This variable can be changed to modify flags given to rubocop.
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
|
2020-12-04 21:15:32 +00:00
|
|
|
g:ale_ruby_rubocop_auto_correct_all *g:ale_ruby_rubocop_auto_correct_all*
|
|
|
|
*b:ale_ruby_rubocop_auto_correct_all*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |Number|
|
2020-12-04 21:15:32 +00:00
|
|
|
Default: `0`
|
|
|
|
|
|
|
|
This variable can be changed to make rubocop to correct all offenses (unsafe).
|
|
|
|
|
|
|
|
|
2018-03-31 14:55:20 +00:00
|
|
|
===============================================================================
|
|
|
|
ruby *ale-ruby-ruby*
|
|
|
|
|
|
|
|
g:ale_ruby_ruby_executable *g:ale_ruby_ruby_executable*
|
|
|
|
*b:ale_ruby_ruby_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2018-03-31 14:55:20 +00:00
|
|
|
Default: `'ruby'`
|
|
|
|
|
|
|
|
This variable can be changed to use a different executable for ruby.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
rufo *ale-ruby-rufo*
|
|
|
|
|
|
|
|
g:ale_ruby_rufo_executable *g:ale_ruby_rufo_executable*
|
|
|
|
*b:ale_ruby_rufo_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2018-03-31 14:55:20 +00:00
|
|
|
Default: `'rufo'`
|
|
|
|
|
|
|
|
Override the invoked rufo binary. This is useful for running rufo from
|
|
|
|
binstubs or a bundle.
|
|
|
|
|
|
|
|
|
2018-09-25 00:40:17 +00:00
|
|
|
===============================================================================
|
|
|
|
solargraph *ale-ruby-solargraph*
|
|
|
|
|
|
|
|
g:ale_ruby_solargraph_executable *g:ale_ruby_solargraph_executable*
|
|
|
|
*b:ale_ruby_solargraph_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2018-09-25 00:40:17 +00:00
|
|
|
Default: `'solargraph'`
|
|
|
|
|
|
|
|
Override the invoked solargraph binary. This is useful for running solargraph
|
|
|
|
from binstubs or a bundle.
|
|
|
|
|
|
|
|
|
2019-08-22 15:36:17 +00:00
|
|
|
===============================================================================
|
|
|
|
sorbet *ale-ruby-sorbet*
|
|
|
|
|
|
|
|
g:ale_ruby_sorbet_executable *g:ale_ruby_sorbet_executable*
|
|
|
|
*b:ale_ruby_sorbet_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2019-08-22 15:36:17 +00:00
|
|
|
Default: `'srb'`
|
|
|
|
|
|
|
|
Override the invoked sorbet binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` srb'.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_ruby_sorbet_options *g:ale_ruby_sorbet_options*
|
|
|
|
*b:ale_ruby_sorbet_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
2019-11-16 15:28:42 +00:00
|
|
|
This variable can be changed to modify flags given to sorbet.
|
2019-08-22 15:36:17 +00:00
|
|
|
|
|
|
|
|
2021-05-05 08:25:00 +00:00
|
|
|
g:ale_ruby_sorbet_enable_watchman *g:ale_ruby_sorbet_enable_watchman*
|
|
|
|
*b:ale_ruby_sorbet_enable_watchman*
|
|
|
|
Type: |Number|
|
|
|
|
Default: `0`
|
|
|
|
|
|
|
|
Whether or not to use watchman to let the LSP server to know about changes
|
|
|
|
to files from outside of vim. Defaults to disable watchman because it
|
|
|
|
requires watchman to be installed separately from sorbet.
|
|
|
|
|
|
|
|
|
2018-12-17 11:28:27 +00:00
|
|
|
===============================================================================
|
|
|
|
standardrb *ale-ruby-standardrb*
|
|
|
|
|
2020-12-04 21:15:32 +00:00
|
|
|
g:ale_ruby_standardrb_executable *g:ale_ruby_standardrb_executable*
|
|
|
|
*b:ale_ruby_standardrb_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2018-12-17 11:28:27 +00:00
|
|
|
Default: `'standardrb'`
|
|
|
|
|
|
|
|
Override the invoked standardrb binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` standardrb'.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_ruby_standardrb_options *g:ale_ruby_standardrb_options*
|
|
|
|
*b:ale_ruby_standardrb_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
2019-11-16 15:28:42 +00:00
|
|
|
This variable can be changed to modify flags given to standardrb.
|
2018-12-17 11:28:27 +00:00
|
|
|
|
|
|
|
|
2022-09-20 08:08:31 +00:00
|
|
|
===============================================================================
|
|
|
|
syntax_tree *ale-ruby-syntax_tree*
|
|
|
|
|
|
|
|
g:ale_ruby_syntax_tree_executable *g:ale_ruby_syntax_tree_executable*
|
|
|
|
*b:ale_ruby_syntax_tree_executable*
|
2022-11-20 11:21:23 +00:00
|
|
|
Type: |String|
|
2022-09-20 08:08:31 +00:00
|
|
|
Default: `'stree'`
|
|
|
|
|
|
|
|
Override the invoked SyntaxTree binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` stree'.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_ruby_syntax_tree_options *g:ale_ruby_syntax_tree_options*
|
|
|
|
*b:ale_ruby_syntax_tree_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be changed to modify flags given to SyntaxTree.
|
|
|
|
|
|
|
|
|
2018-03-31 14:55:20 +00:00
|
|
|
===============================================================================
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|