Skip to content

Commit

Permalink
Merge pull request rubocop#806 from koic/add_mail_to_allowed_methods_…
Browse files Browse the repository at this point in the history
…of_style_symbol_proc

[Fix rubocop#779] Add `mail` to `AllowedMethods` of `Style/SymbolProc`
  • Loading branch information
koic authored Oct 21, 2022
2 parents 25d9dfb + 2613fee commit 6051ed8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#779](https://github.com/rubocop/rubocop-rails/issues/779): Add `mail` to `AllowedMethods` of `Style/SymbolProc`. ([@koic][])
6 changes: 6 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1126,3 +1126,9 @@ Rails/WhereNotWithMultipleConditions:
# Accept `redirect_to(...) and return` and similar cases.
Style/AndOr:
EnforcedStyle: conditionals

Style/SymbolProc:
AllowedMethods:
- define_method
- mail
- respond_to

0 comments on commit 6051ed8

Please sign in to comment.