config/rbi.yml in rubocop-sorbet-0.8.4 vs config/rbi.yml in rubocop-sorbet-0.8.5
- old
+ new
@@ -167,13 +167,19 @@
Enabled: true
Layout/SpaceBeforeSemicolon:
Enabled: true
+Layout/SpaceInsideBlockBraces:
+ Enabled: true
+
Layout/SpaceInsideParens:
Enabled: true
+Layout/SpaceInsideReferenceBrackets:
+ Enabled: true
+
Layout/TrailingEmptyLines:
Enabled: true
EnforcedStyle: final_newline
Layout/TrailingWhitespace:
@@ -217,9 +223,19 @@
Sorbet/SingleLineRbiClassModuleDefinitions:
Enabled: true
Sorbet/TypeAliasName:
Enabled: true
+
+Sorbet/ValidGemVersionAnnotations:
+ Description: >-
+ Ensures all gem version annotations in RBI files are correctly formatted per
+ Ruby's gem version specification guidelines.
+
+ See the rubygems.org documentation for more information on how to format gem
+ versions: https://guides.rubygems.org/patterns/#pessimistic-version-constraint
+ Enabled: false
+ VersionAdded: 0.8.5
Sorbet/ValidSigil:
Enabled: true
RequireSigilOnAllFiles: true
MinimumStrictness: "false"