From 6b87977eb8b980a79fa74a32f9f2c326e3b8c94e Mon Sep 17 00:00:00 2001 From: Sam Bostock Date: Sat, 21 Oct 2023 20:10:04 -0400 Subject: [PATCH] Remove trailing spaces in default config --- config/default.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/default.yml b/config/default.yml index bb6f447c..3f9aacb3 100644 --- a/config/default.yml +++ b/config/default.yml @@ -188,12 +188,12 @@ Sorbet/BuggyObsoleteStrictMemoization: Checks for the a mistaken variant of the "obsolete memoization pattern" that used to be required for older Sorbet versions in `#typed: strict` files. The mistaken variant would overwrite the ivar with `nil` on every call, causing the memoized value to be discarded and recomputed on every call. - + This cop will correct it to read from the ivar instead of `nil`, which will memoize it correctly. - + The result of this correction will be the "obsolete memoization pattern", which can further be corrected by the `Sorbet/ObsoleteStrictMemoization` cop. - + See `Sorbet/ObsoleteStrictMemoization` for more details. Enabled: true VersionAdded: '0.7.3'