mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
revive: allow to disable rule (#2055)
This commit is contained in:
parent
6a269af7a6
commit
eed344f619
2 changed files with 2 additions and 0 deletions
|
@ -380,6 +380,7 @@ type ReviveSettings struct {
|
|||
Name string
|
||||
Arguments []interface{}
|
||||
Severity string
|
||||
Disabled bool
|
||||
}
|
||||
ErrorCode int `mapstructure:"error-code"`
|
||||
WarningCode int `mapstructure:"warning-code"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue