mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
Add tenv linter (#2221)
This commit is contained in:
parent
c6c55d2502
commit
20699a7213
11 changed files with 267 additions and 0 deletions
|
@ -132,6 +132,7 @@ type LintersSettings struct {
|
|||
Tagliatelle TagliatelleSettings
|
||||
Testpackage TestpackageSettings
|
||||
Thelper ThelperSettings
|
||||
Tenv TenvSettings
|
||||
Unparam UnparamSettings
|
||||
Unused StaticCheckSettings
|
||||
Varcheck VarCheckSettings
|
||||
|
@ -463,6 +464,10 @@ type ThelperSettings struct {
|
|||
} `mapstructure:"tb"`
|
||||
}
|
||||
|
||||
type TenvSettings struct {
|
||||
All bool `mapstructure:"all"`
|
||||
}
|
||||
|
||||
type UnparamSettings struct {
|
||||
CheckExported bool `mapstructure:"check-exported"`
|
||||
Algo string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue