mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-25 22:04:50 -05:00
Disable Style/GuardClause cop (#39846)
This commit is contained in:
@@ -15,6 +15,9 @@ Style/FormatStringToken:
|
||||
merge:
|
||||
- AllowedMethods
|
||||
|
||||
Style/GuardClause:
|
||||
Enabled: false
|
||||
|
||||
Style/HashAsLastArrayItem:
|
||||
Enabled: false
|
||||
|
||||
|
||||
@@ -5,8 +5,3 @@
|
||||
# one by one as the offenses are removed from the code base.
|
||||
# Note that changes in the inspected code, or installation of new
|
||||
# versions of RuboCop, may require this file to be generated again.
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
||||
Style/GuardClause:
|
||||
Enabled: false
|
||||
|
||||
Reference in New Issue
Block a user