From bce46628b015e7a913fdeece07bd126beb19dc33 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Wed, 16 Oct 2024 04:08:39 +0100 Subject: [PATCH] .rubocop.yml: disable Sorbet/Refinement --- Library/.rubocop.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index f125134fb9652..50302d5e119ea 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -271,6 +271,13 @@ 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: