@@ -809,7 +809,7 @@ func TestNewStruct_structtags_ignores(t *testing.T) {
809
809
810
810
var s struct {
811
811
ExportedAndTagged string `tfsdk:"exported_and_tagged"`
812
- unexported string //nolint:structcheck, unused
812
+ unexported string //nolint:unused
813
813
unexportedAndTagged string `tfsdk:"unexported_and_tagged"`
814
814
ExportedAndExcluded string `tfsdk:"-"`
815
815
}
@@ -850,13 +850,13 @@ func TestNewStruct_embedded_structtags_ignores(t *testing.T) {
850
850
851
851
type s1 struct {
852
852
ExportedAndTagged string `tfsdk:"exported_and_tagged"`
853
- unexported string //nolint:structcheck, unused
853
+ unexported string //nolint:unused
854
854
unexportedAndTagged string `tfsdk:"unexported_and_tagged"`
855
855
ExportedAndExcluded string `tfsdk:"-"`
856
856
}
857
857
858
858
type s2 struct {
859
- unexportedField string //nolint:structcheck, unused
859
+ unexportedField string //nolint:unused
860
860
}
861
861
862
862
var s struct {
@@ -2149,7 +2149,7 @@ func TestFromStruct_structtags_ignores(t *testing.T) {
2149
2149
2150
2150
type s struct {
2151
2151
ExportedAndTagged string `tfsdk:"exported_and_tagged"`
2152
- unexported string //nolint:structcheck, unused
2152
+ unexported string //nolint:unused
2153
2153
unexportedAndTagged string `tfsdk:"unexported_and_tagged"`
2154
2154
ExportedAndExcluded string `tfsdk:"-"`
2155
2155
}
@@ -2188,13 +2188,13 @@ func TestFromStruct_embedded_structtags_ignores(t *testing.T) {
2188
2188
2189
2189
type s1 struct {
2190
2190
ExportedAndTagged string `tfsdk:"exported_and_tagged"`
2191
- unexported string //nolint:structcheck, unused
2191
+ unexported string //nolint:unused
2192
2192
unexportedAndTagged string `tfsdk:"unexported_and_tagged"`
2193
2193
ExportedAndExcluded string `tfsdk:"-"`
2194
2194
}
2195
2195
2196
2196
type s2 struct {
2197
- unexportedField string //nolint:structcheck, unused
2197
+ unexportedField string //nolint:unused
2198
2198
}
2199
2199
2200
2200
type s struct {
0 commit comments