Skip to content

Commit 6051ed8

Browse files
authored
Merge pull request rubocop#806 from koic/add_mail_to_allowed_methods_of_style_symbol_proc
[Fix rubocop#779] Add `mail` to `AllowedMethods` of `Style/SymbolProc`
2 parents 25d9dfb + 2613fee commit 6051ed8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* [#779](https://github.com/rubocop/rubocop-rails/issues/779): Add `mail` to `AllowedMethods` of `Style/SymbolProc`. ([@koic][])

config/default.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,3 +1126,9 @@ Rails/WhereNotWithMultipleConditions:
11261126
# Accept `redirect_to(...) and return` and similar cases.
11271127
Style/AndOr:
11281128
EnforcedStyle: conditionals
1129+
1130+
Style/SymbolProc:
1131+
AllowedMethods:
1132+
- define_method
1133+
- mail
1134+
- respond_to

0 commit comments

Comments
 (0)