Skip to content

Commit

Permalink
Merge pull request #902 from javierjulio/patch-1
Browse files Browse the repository at this point in the history
Ignore redirect method for Style/FormatStringToken by default
  • Loading branch information
koic authored Jan 6, 2023
2 parents 05be11b + a525791 commit c33770b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#902](https://github.com/rubocop/rubocop-rails/pull/902): Ignore `redirect` method for `Style/FormatStringToken` by default. ([@javierjulio][])
7 changes: 7 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,13 @@ Rails/WhereNotWithMultipleConditions:
Style/AndOr:
EnforcedStyle: conditionals

Style/FormatStringToken:
AllowedMethods:
- redirect
# Deprecated.
IgnoredMethods:
- redirect

Style/SymbolProc:
AllowedMethods:
- define_method
Expand Down

0 comments on commit c33770b

Please sign in to comment.