Merge pull request #20570 from Homebrew/dug/enable-refinement-cop

Enable Sorbet/Refinement
This commit is contained in:
Douglas Eichelberger 2025-08-25 18:48:53 +00:00 committed by GitHub
commit af6f648f00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -297,13 +297,6 @@ Sorbet/ForbidRBIOutsideOfAllowedPaths:
Sorbet/RedundantExtendTSig:
Enabled: true
# We make limited and intentional use of refinements.
# It's posssible this may change in the future, though we probably still do not want to ban it in taps
# and Sorbet typecheck will tell us what is and isn't a problem anyway.
# Right now, our use of refinements isn't problematic (or at least not yet).
Sorbet/Refinement:
Enabled: false
Sorbet/StrictSigil:
Enabled: true
Exclude: