Merge pull request #11689 from issyl0/sorbet-rename-allowed-or-ignored-error-codes-parameter
dev-cmd/typecheck: `error-white-list` renamed to `isolate-error-code`
This commit is contained in:
commit
fc5265ae5c
@ -98,10 +98,6 @@ Naming/InclusiveLanguage:
|
|||||||
blacklist:
|
blacklist:
|
||||||
AllowedRegex:
|
AllowedRegex:
|
||||||
- "--listBlacklist" # Used in formula `xmlsectool`
|
- "--listBlacklist" # Used in formula `xmlsectool`
|
||||||
whitelist:
|
|
||||||
AllowedRegex:
|
|
||||||
- "--error-white-list" # For an option passed to `srb` in dev-cmd/typecheck.rb
|
|
||||||
- "--repo-whitelist" # Used in formula `atlantis`
|
|
||||||
|
|
||||||
Naming/MethodName:
|
Naming/MethodName:
|
||||||
IgnoredPatterns:
|
IgnoredPatterns:
|
||||||
|
|||||||
@ -67,7 +67,8 @@ module Homebrew
|
|||||||
if args.suggest_typed?
|
if args.suggest_typed?
|
||||||
result = system_command(
|
result = system_command(
|
||||||
"bundle",
|
"bundle",
|
||||||
args: ["exec", "--", "srb", "tc", "--suggest-typed", "--typed=strict", "--error-white-list=7022"],
|
args: ["exec", "--", "srb", "tc", "--suggest-typed", "--typed=strict",
|
||||||
|
"--isolate-error-code=7022"],
|
||||||
print_stderr: false,
|
print_stderr: false,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user