You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A generic AutoCorrect configuration parameter that can be used in for any cop was introduced in #1657. It has two shortcomings:
It needs to be configured like this
CopName:
AutoCorrect: "False"
So neither False nor false will work, which is counter-intuitive for this parameter.
2. When the parameter is added in .rubocop.yml, RuboCop prints a warning, e.g.:
Warning: unrecognized parameter Style/StringLiterals:AutoCorrect found in /home/jonas/dev/rubocop/.rubocop.yml
The text was updated successfully, but these errors were encountered:
I saw the issue with the string false earlier and I hadn't gotten a chance to write up the issue yet. I am glad to see that someone else found it as well.
A generic
AutoCorrect
configuration parameter that can be used in for any cop was introduced in #1657. It has two shortcomings:So neither
False
norfalse
will work, which is counter-intuitive for this parameter.2. When the parameter is added in
.rubocop.yml
, RuboCop prints a warning, e.g.:The text was updated successfully, but these errors were encountered: