config/default.yml in rubocop-sorbet-0.6.11 vs config/default.yml in rubocop-sorbet-0.7.0
- old
+ new
@@ -23,10 +23,15 @@
Sorbet/CheckedTrueInSignature:
Description: 'Disallows the usage of `checked(true)` in signatures.'
Enabled: true
VersionAdded: 0.2.0
+Sorbet/EmptyLineAfterSig:
+ Description: 'Ensures that there are no blank lines after signatures'
+ Enabled: true
+ VersionAdded: 0.7.0
+
Sorbet/ConstantsFromStrings:
Description: >-
Forbids constant access through meta-programming.
For example, things like `constantize` or `const_get`
@@ -40,11 +45,11 @@
VersionAdded: 0.3.4
Sorbet/EnforceSingleSigil:
Description: 'Ensures that there is only one Sorbet sigil in a file.'
Enabled: true
- VersionAdded: '<<next>>'
+ VersionAdded: 0.7.0
Sorbet/EnforceSignatures:
Description: 'Ensures all methods have a valid signature.'
Enabled: false
VersionAdded: 0.3.4
@@ -71,10 +76,11 @@
Sorbet/ForbidRBIOutsideOfAllowedPaths:
Description: 'Forbids RBI files outside of the allowed paths'
Enabled: true
VersionAdded: 0.6.1
AllowedPaths:
+ - "rbi/**"
- "sorbet/rbi/**"
Include:
- "**/*.rbi"
Sorbet/ForbidIncludeConstLiteral:
@@ -147,9 +153,19 @@
Sorbet/OneAncestorPerLine:
Description: 'Enforces one ancestor per call to requires_ancestor'
Enabled: false
VersionAdded: '0.6.0'
+
+Sorbet/RedundantExtendTSig:
+ Description: >-
+ Forbid the usage of redundant `extend T::Sig`.
+
+ Only for use in applications that monkey patch `Module.include(T::Sig)` directly,
+ where it is useful to reduce noise.
+ Enabled: false
+ Safe: false
+ VersionAdded: 0.7.0
Sorbet/SignatureBuildOrder:
Description: >-
Enforces the order of parts in a signature.