config/default.yml in rubocop-sorbet-0.7.8 vs config/default.yml in rubocop-sorbet-0.8.0
- old
+ new
@@ -186,16 +186,16 @@
Sorbet/BuggyObsoleteStrictMemoization:
Description: >-
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'
Safe: true
SafeAutoCorrect: false
@@ -221,9 +221,23 @@
The order is first inheritance related builders,
then params, then return and finally the modifier
such as: `abstract.params(...).returns(...).soft`.'
Enabled: true
+ Order:
+ - final
+ - abstract
+ - implementation
+ - override
+ - overridable
+ - type_parameters
+ - params
+ - bind
+ - returns
+ - void
+ - soft
+ - checked
+ - on_failure
VersionAdded: 0.3.0
Sorbet/SingleLineRbiClassModuleDefinitions:
Description: 'Empty class and module definitions in RBI must be on a single line.'
Enabled: false