Add and apply Style/RedundantBegin rubocop rule
We're about to add code which might fall into the `RedundantBegin` category, so we're adding the rule in order to prevent that.
This commit is contained in:
@@ -781,6 +781,9 @@ Style/RaiseArgs:
|
||||
Style/RedundantArgument:
|
||||
Enabled: true
|
||||
|
||||
Style/RedundantBegin:
|
||||
Enabled: true
|
||||
|
||||
Style/RedundantCondition:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user