rubocop: Remove _
from allowed Naming/MethodParameterName
- As of RuboCop v0.67.0 (quite some time ago!), this rule allows `_` by
default as it commonly denotes "this argument is unused". This is not
set upstream in `AllowedNames`, the code
[ignores underscores](4bc7d8c1bc (diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed)
)
entirely.
This commit is contained in:
parent
31758eaa02
commit
c53b14e955
@ -372,7 +372,6 @@ Metrics/PerceivedComplexity:
|
||||
# TODO: try to remove some of these
|
||||
Naming/MethodParameterName:
|
||||
AllowedNames:
|
||||
- "_"
|
||||
- "a"
|
||||
- "b"
|
||||
- "cc"
|
||||
|
Loading…
x
Reference in New Issue
Block a user