Add and apply Style/ArgumentsForwarding rule

We were using generic names like `args` and `options` which don't really
add anything to `*` or `**` because Ruby required us to.

That's no longer the case in Ruby 3.2, so we can simplify the code a
bit.
This commit is contained in:
Javi Martín
2024-02-29 00:22:58 +01:00
parent 7840c98660
commit fdfdbcbd0d
12 changed files with 25 additions and 27 deletions

View File

@@ -647,6 +647,9 @@ Style/AccessorGrouping:
Style/AndOr:
Enabled: true
Style/ArgumentsForwarding:
Enabled: true
Style/ArrayCoercion:
Enabled: true