mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Add the ginkgolinter linter (#3369)
This commit is contained in:
parent
d65222aa87
commit
26dde52d69
17 changed files with 309 additions and 1 deletions
|
@ -150,6 +150,7 @@ type LintersSettings struct {
|
|||
Forbidigo ForbidigoSettings
|
||||
Funlen FunlenSettings
|
||||
Gci GciSettings
|
||||
GinkgoLinter GinkgoLinterSettings
|
||||
Gocognit GocognitSettings
|
||||
Goconst GoConstSettings
|
||||
Gocritic GoCriticSettings
|
||||
|
@ -321,6 +322,12 @@ type GciSettings struct {
|
|||
CustomOrder bool `mapstructure:"custom-order"`
|
||||
}
|
||||
|
||||
type GinkgoLinterSettings struct {
|
||||
SuppressLenAssertion bool `mapstructure:"suppress-len-assertion"`
|
||||
SuppressNilAssertion bool `mapstructure:"suppress-nil-assertion"`
|
||||
SuppressErrAssertion bool `mapstructure:"suppress-err-assertion"`
|
||||
}
|
||||
|
||||
type GocognitSettings struct {
|
||||
MinComplexity int `mapstructure:"min-complexity"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue