* Move FindRailsRoot() to more general location * Add rails_best_practices handler (resolves #655) * Update documentation for rails_best_practices Also add brakeman to *ale* documentation. * rails_best_practices: allow overriding the executable * rails_best_practices: format help correctly * rails_best_practices: capture tool output on Windows
This commit is contained in:
@@ -13,6 +13,27 @@ g:ale_ruby_brakeman_options *g:ale_ruby_brakeman_options*
|
||||
The contents of this variable will be passed through to brakeman.
|
||||
|
||||
|
||||
===============================================================================
|
||||
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*
|
||||
Type: String
|
||||
Default: 'rails_best_practices'
|
||||
|
||||
Override the invoked rails_best_practices binary. Set this to `'bundle'` to
|
||||
invoke `'bundle` `exec` `rails_best_practices'`.
|
||||
|
||||
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*
|
||||
|
||||
|
||||
@@ -84,6 +84,8 @@ CONTENTS *ale-contents*
|
||||
pylint..............................|ale-python-pylint|
|
||||
yapf................................|ale-python-yapf|
|
||||
ruby..................................|ale-ruby-options|
|
||||
brakeman............................|ale-ruby-brakeman|
|
||||
rails_best_practices................|ale-ruby-rails_best_practices|
|
||||
reek................................|ale-ruby-reek|
|
||||
rubocop.............................|ale-ruby-rubocop|
|
||||
rust..................................|ale-rust-options|
|
||||
|
||||
Reference in New Issue
Block a user