@@ -86,9 +86,6 @@ var defaultLintersSettings = LintersSettings{
86
86
EscapeHatches : []string {},
87
87
WatchForScripts : []string {"Han" },
88
88
},
89
- Unqueryvet : UnqueryvetSettings {
90
- CheckSQLBuilders : true ,
91
- },
92
89
Inamedparam : INamedParamSettings {
93
90
SkipSingleParam : false ,
94
91
},
@@ -165,6 +162,9 @@ var defaultLintersSettings = LintersSettings{
165
162
SkipRegexp : `(export|internal)_test\.go` ,
166
163
AllowPackages : []string {"main" },
167
164
},
165
+ Unqueryvet : UnqueryvetSettings {
166
+ CheckSQLBuilders : true ,
167
+ },
168
168
Unused : UnusedSettings {
169
169
FieldWritesAreUses : true ,
170
170
PostStatementsAreReads : false ,
@@ -253,7 +253,7 @@ type LintersSettings struct {
253
253
Gomodguard GoModGuardSettings `mapstructure:"gomodguard"`
254
254
Gosec GoSecSettings `mapstructure:"gosec"`
255
255
Gosmopolitan GosmopolitanSettings `mapstructure:"gosmopolitan"`
256
- Unqueryvet UnqueryvetSettings `mapstructure:"unqueryvet"`
256
+ Unqueryvet UnqueryvetSettings `mapstructure:"unqueryvet"`
257
257
Govet GovetSettings `mapstructure:"govet"`
258
258
Grouper GrouperSettings `mapstructure:"grouper"`
259
259
Iface IfaceSettings `mapstructure:"iface"`
@@ -614,11 +614,6 @@ type GosmopolitanSettings struct {
614
614
WatchForScripts []string `mapstructure:"watch-for-scripts"`
615
615
}
616
616
617
- type UnqueryvetSettings struct {
618
- CheckSQLBuilders bool `mapstructure:"check-sql-builders"`
619
- AllowedPatterns []string `mapstructure:"allowed-patterns"`
620
- }
621
-
622
617
type GovetSettings struct {
623
618
Go string `mapstructure:"-"`
624
619
@@ -1013,6 +1008,11 @@ type UnparamSettings struct {
1013
1008
CheckExported bool `mapstructure:"check-exported"`
1014
1009
}
1015
1010
1011
+ type UnqueryvetSettings struct {
1012
+ CheckSQLBuilders bool `mapstructure:"check-sql-builders"`
1013
+ AllowedPatterns []string `mapstructure:"allowed-patterns"`
1014
+ }
1015
+
1016
1016
type UnusedSettings struct {
1017
1017
FieldWritesAreUses bool `mapstructure:"field-writes-are-uses"`
1018
1018
PostStatementsAreReads bool `mapstructure:"post-statements-are-reads"`
0 commit comments