Skip to content

Commit

Permalink
Reorder Sorbet/ValidGemVersionAnnotations cop config
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
  • Loading branch information
Morriar committed Jul 25, 2024
1 parent d2ceae7 commit e25f534
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions config/rbi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,16 @@ Sorbet/SingleLineRbiClassModuleDefinitions:
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
Expand Down Expand Up @@ -272,13 +282,3 @@ Style/MixinUsage:
Style/ModuleFunction:
Enabled: true
EnforcedStyle: forbidden

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

0 comments on commit e25f534

Please sign in to comment.