A collection of RuboCop rules for Sorbet
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.8.2...v0.8.3
MultipleTEnumValues
cop by @egiurleo in https://github.com/Shopify/rubocop-sorbet/pull/224
Sorbet/OneAncestorPerLine
cop by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/206
ForbidComparableTEnum
cop by @egiurleo in https://github.com/Shopify/rubocop-sorbet/pull/225
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.8.1...v0.8.2
CallbackConditionalsBinding
cop & specs by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/204
ConstantsFromStrings
by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/205
.ruby-version
by @george-ma in https://github.com/Shopify/rubocop-sorbet/pull/218
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.8.0...v0.8.1
[!NOTE] This version drops the runtime dependency that
Sorbet/SignatureBuildOrder
had onunparser
, so if you had that dependency in yourGemfile
for only this reason, you should be able to drop it now.
final
, bind
, & implementation
to SignatureBuildOrder
by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/189
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.7.8...v0.8.0
ForbidTStruct
cop's autocorrect should support new lines and adhere to max line length by @KaanOzkan in https://github.com/Shopify/rubocop-sorbet/pull/203
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.7.7...v0.7.8
.void.checked(:tests)
by @jez in https://github.com/Shopify/rubocop-sorbet/pull/196
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.7.6...v0.7.7
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.7.5...v0.7.6
InternalAffairs/UndefinedConfig
for now by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/184
ForbidIncludeConstLiteral
by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/153
SignatureBuildOrder
cop by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/186
EmptyLineAfterSig
by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/185
EmptyLineAfterSig
in RBI config by @sambostock in https://github.com/Shopify/rubocop-sorbet/pull/188
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.7.4...v0.7.5
BuggyObsoleteStrictMemoization
cop by @amomchilov in https://github.com/Shopify/rubocop-sorbet/pull/175
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.7.3...v0.7.4
Full Changelog: https://github.com/Shopify/rubocop-sorbet/compare/v0.7.2...v0.7.3