ginkgolinter: add suppress-async-assertion option (#3735)

This commit is contained in:
Nahshon Unna Tsameret 2023-03-26 18:55:13 +03:00 committed by GitHub
parent ba0a69c112
commit fb7d328aec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 175 additions and 11 deletions

View file

@ -341,6 +341,7 @@ type GinkgoLinterSettings struct {
SuppressNilAssertion bool `mapstructure:"suppress-nil-assertion"`
SuppressErrAssertion bool `mapstructure:"suppress-err-assertion"`
SuppressCompareAssertion bool `mapstructure:"suppress-compare-assertion"`
SuppressAsyncAssertion bool `mapstructure:"suppress-async-assertion"`
AllowHaveLenZero bool `mapstructure:"allow-havelen-zero"`
}