config/default.yml in rubocop-sorbet-0.5.1 vs config/default.yml in rubocop-sorbet-0.6.0
- old
+ new
@@ -51,10 +51,17 @@
Exclude:
- bin/**/*
- db/**/*.rb
- script/**/*
+Sorbet/ForbidExtendTSigHelpersInShims:
+ Description: 'Forbid the use of `extend T::Sig` and `extend T::Helpers` in RBI shims'
+ Enabled: true
+ VersionAdded: '0.6.0'
+ Include:
+ - "**/*.rbi"
+
Sorbet/ForbidIncludeConstLiteral:
Description: 'Forbids include of non-literal constants.'
Enabled: false
VersionAdded: 0.2.0
VersionChanged: 0.5.0
@@ -90,10 +97,15 @@
list, and all keyword arguments with a default value must be
after those without default values.
Enabled: true
VersionAdded: 0.2.0
+Sorbet/OnedAncestorPerLine:
+ Description: 'Enforces one ancestor per call to requires_ancestor'
+ Enabled: false
+ VersionAdded: '0.6.0'
+
Sorbet/ParametersOrderingInSignature:
Description: 'Enforces same parameter order between a method and its signature.'
Enabled: true
VersionAdded: 0.2.0
@@ -104,9 +116,16 @@
The order is first inheritance related builders,
then params, then return and finally the modifier
such as: `abstract.params(...).returns(...).soft`.'
Enabled: true
VersionAdded: 0.3.0
+
+Sorbet/SingleLineRbiClassModuleDefinitions:
+ Description: 'Empty class and module definitions in RBI must be on a single line.'
+ Enabled: false
+ VersionAdded: '0.6.0'
+ Include:
+ - "**/*.rbi"
Sorbet/StrictSigil:
Description: 'All files must be at least at strictness `strict`.'
Enabled: false
VersionAdded: 0.3.3