Update config

This commit is contained in:
Douglas Eichelberger 2024-02-18 15:47:51 -08:00
parent 979974fa38
commit 46a0a50774

View File

@ -259,6 +259,10 @@ Sorbet/ConstantsFromStrings:
Sorbet/FalseSigil: Sorbet/FalseSigil:
Enabled: false Enabled: false
# We generally prefer to colo rbi files with the Ruby files they describe.
Sorbet/ForbidRBIOutsideOfAllowedPaths:
Enabled: false
# T::Sig is monkey-patched into Module # T::Sig is monkey-patched into Module
Sorbet/RedundantExtendTSig: Sorbet/RedundantExtendTSig:
Enabled: true Enabled: true
@ -295,6 +299,10 @@ Style/BlockDelimiters:
BracesRequiredMethods: BracesRequiredMethods:
- "sig" - "sig"
Style/ClassAndModuleChildren:
Exclude:
- "**/*.rbi"
# Use consistent style for better readability. # Use consistent style for better readability.
Style/CollectionMethods: Style/CollectionMethods:
Enabled: true Enabled: true
@ -382,6 +390,7 @@ Style/OpenStructUse:
# TODO: This is a pre-existing violation and should be corrected # TODO: This is a pre-existing violation and should be corrected
# to define methods so that call sites can be type-checked. # to define methods so that call sites can be type-checked.
- "Homebrew/cli/args.rb" - "Homebrew/cli/args.rb"
- "Homebrew/cli/args.rbi"
# Rescuing `StandardError` is an understood default. # Rescuing `StandardError` is an understood default.
Style/RescueStandardError: Style/RescueStandardError: