summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNihad Abbasov <nihad@42na.in>2020-08-12 16:04:54 +0300
committerGitHub <noreply@github.com>2020-08-12 14:04:54 +0100
commitd5912b53ddd30102c6e199468998fb6d72a197f3 (patch)
tree75a44379d7f0f953ca3b1672869a65d933f627c3 /doc
parentd3f410b6f723603bb3bcd121758868deae37ba94 (diff)
downloadale-d5912b53ddd30102c6e199468998fb6d72a197f3.zip
Restore old behavior of ALEFix command for Rubocop (#3237)
* Restore old behavior of ALEFix command for Rubocop Since RuboCop 0.60 ALEFix command stopped to fix all found offenses. This change restores the previous behavior by allowing rubocop to fix all detected offenses. * Fix tests * Allow to configure auto-correct option for Rubocop
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-ruby.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ale-ruby.txt b/doc/ale-ruby.txt
index a27a20b2..142bb6b8 100644
--- a/doc/ale-ruby.txt
+++ b/doc/ale-ruby.txt
@@ -114,6 +114,14 @@ g:ale_ruby_rubocop_options *g:ale_ruby_rubocop_options*
This variable can be changed to modify flags given to rubocop.
+g:ale_ruby_rubocop_auto_correct_all *g:ale_ruby_rubocop_options*
+ *b:ale_ruby_rubocop_options*
+ Type: Number
+ Default: `0`
+
+ This variable can be changed to make rubocop to correct all offenses (unsafe).
+
+
===============================================================================
ruby *ale-ruby-ruby*