diff --git a/tools/check-structfield-settings/main.go b/tools/check-structfield-settings/main.go index db7e3591a3a..86ee177f7ae 100644 --- a/tools/check-structfield-settings/main.go +++ b/tools/check-structfield-settings/main.go @@ -125,8 +125,7 @@ type golangciConfig struct { Custom struct { Structfield struct { Settings struct { - AllowedTagNames []string `yaml:"allowed-tag-names"` - AllowedTagTypes []string `yaml:"allowed-tag-types"` + structfield.Settings `yaml:",inline"` } `yaml:"settings"` } `yaml:"structfield"` } `yaml:"custom"`