Skip to content

Commit

Permalink
Add of to AllowedNames of MethodParameterName cop
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWayfer committed Jul 9, 2020
1 parent 3aad1bb commit 8dbad9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -20,6 +20,7 @@
### Changes

* [#8294](https://github.com/rubocop-hq/rubocop/pull/8294): Sort `AllowedNames` of `MethodParameterName` cop. ([@AlexWayfer][])
* [#8294](https://github.com/rubocop-hq/rubocop/pull/8294): Add `of` to `AllowedNames` of `MethodParameterName` cop. ([@AlexWayfer][])

## 0.87.1 (2020-07-07)

Expand Down
1 change: 1 addition & 0 deletions config/default.yml
Expand Up @@ -2186,6 +2186,7 @@ Naming/MethodParameterName:
- in
- io
- ip
- of
- 'on'
- os
- pp
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_naming.adoc
Expand Up @@ -750,7 +750,7 @@ end
| Boolean

| AllowedNames
| `at`, `by`, `db`, `id`, `in`, `io`, `ip`, `on`, `os`, `pp`, `to`
| `at`, `by`, `db`, `id`, `in`, `io`, `ip`, `of`, `on`, `os`, `pp`, `to`
| Array

| ForbiddenNames
Expand Down

0 comments on commit 8dbad9a

Please sign in to comment.