Add and apply Style/RedundantArgument rubocop rule

This rule was added in rubocop 1.4.0.
This commit is contained in:
Javi Martín
2021-08-11 16:25:46 +02:00
parent f90c23ca88
commit aef1e4660f
3 changed files with 6 additions and 3 deletions

View File

@@ -490,6 +490,9 @@ Style/Proc:
Style/RaiseArgs:
Enabled: true
Style/RedundantArgument:
Enabled: true
Style/RedundantCondition:
Enabled: true