Disable Style/GuardClause cop (#39846)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2026-07-21 14:47:59 +00:00
1 parent ac5ced71cd
commit b2613aeabd
2 files changed
+3 -5

No files matched your search

+3
View File
@@ -15,6 +15,9 @@ Style/FormatStringToken:
merge:
- AllowedMethods
Style/GuardClause:
Enabled: false
Style/HashAsLastArrayItem:
Enabled: false
-5
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