Disable Style/GuardClause cop (#39846)

This commit is contained in:
Matt Jankowski
2026-07-21 10:47:59 -04:00
committed by GitHub
parent ac5ced71cd
commit b2613aeabd
2 changed files with 3 additions and 5 deletions

View File

@@ -15,6 +15,9 @@ Style/FormatStringToken:
merge:
- AllowedMethods
Style/GuardClause:
Enabled: false
Style/HashAsLastArrayItem:
Enabled: false

View File

@@ -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