Skip to content

Commit

Permalink
[Fix #10960] Add as to AllowedNames of `Naming/MethodParameterNam…
Browse files Browse the repository at this point in the history
…e` cop

Fixes #10960.

This commit adds `as` to `AllowedNames` in default configuration for
`Naming/MethodParameterName` cop.
  • Loading branch information
koic committed Aug 24, 2022
1 parent 3ccbf3a commit e2c1298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -0,0 +1 @@
* [#10960](https://github.com/rubocop/rubocop/issues/10960): Add `as` to `AllowedNames` in default configuration for `Naming/MethodParameterName` cop. ([@koic][])
1 change: 1 addition & 0 deletions config/default.yml
Expand Up @@ -2794,6 +2794,7 @@ Naming/MethodParameterName:
AllowNamesEndingInNumbers: true
# Allowed names that will not register an offense
AllowedNames:
- as
- at
- by
- db
Expand Down

0 comments on commit e2c1298

Please sign in to comment.