Skip to content

Commit

Permalink
[Fix rubocop#779] Add mail to AllowedMethods of Style/SymbolProc
Browse files Browse the repository at this point in the history
Fixes rubocop#779.

This PR adds `mail` to `AllowedMethods` of `Style/SymbolProc`.
  • Loading branch information
koic committed Oct 9, 2022
1 parent 4289731 commit 34cff20
Show file tree
Hide file tree
Showing 2 changed files with 5 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][])
4 changes: 4 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1123,3 +1123,7 @@ Rails/WhereNotWithMultipleConditions:
# Accept `redirect_to(...) and return` and similar cases.
Style/AndOr:
EnforcedStyle: conditionals

Style/SymbolProc:
AllowedMethods:
- mail

0 comments on commit 34cff20

Please sign in to comment.