Update config
This commit is contained in:
parent
979974fa38
commit
46a0a50774
@ -259,6 +259,10 @@ Sorbet/ConstantsFromStrings:
|
||||
Sorbet/FalseSigil:
|
||||
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
|
||||
Sorbet/RedundantExtendTSig:
|
||||
Enabled: true
|
||||
@ -295,6 +299,10 @@ Style/BlockDelimiters:
|
||||
BracesRequiredMethods:
|
||||
- "sig"
|
||||
|
||||
Style/ClassAndModuleChildren:
|
||||
Exclude:
|
||||
- "**/*.rbi"
|
||||
|
||||
# Use consistent style for better readability.
|
||||
Style/CollectionMethods:
|
||||
Enabled: true
|
||||
@ -382,6 +390,7 @@ Style/OpenStructUse:
|
||||
# TODO: This is a pre-existing violation and should be corrected
|
||||
# to define methods so that call sites can be type-checked.
|
||||
- "Homebrew/cli/args.rb"
|
||||
- "Homebrew/cli/args.rbi"
|
||||
|
||||
# Rescuing `StandardError` is an understood default.
|
||||
Style/RescueStandardError:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user