Merge pull request #14062 from issyl0/rubocop-naming-method-parameter-name

rubocop: Deal with some TODOs for `Naming/MethodParameterName`
This commit is contained in:
Issy Long 2022-10-31 12:56:04 +00:00 committed by GitHub
commit 4c5feade88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,8 +371,10 @@ Metrics/PerceivedComplexity:
# allow those that are standard
# TODO: try to remove some of these
Naming/MethodParameterName:
inherit_mode:
merge:
- AllowedNames
AllowedNames:
- "_"
- "a"
- "b"
- "cc"
@ -384,14 +386,12 @@ Naming/MethodParameterName:
- "ff"
- "fn"
- "id"
- "io"
- "o"
- "p"
- "pr"
- "r"
- "rb"
- "s"
- "to"
- "v"
# GitHub diff UI wraps beyond 118 characters