File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
testdata/allthethings/model Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ linters:
5353 enable-all-rules : false
5454 rules :
5555 - name : empty-lines
56- # - name: use-any # this causes problems in some generated files
56+ - name : use-any
5757 - name : struct-tag
5858 - name : blank-imports
5959 - name : context-as-argument
@@ -114,12 +114,13 @@ linters:
114114 - linters :
115115 - gocritic
116116 path : _examples/federation/products/graph/entity.resolvers.go
117+ # revive.use-any causes problems in some generated files
117118 - path : graphql/map.go
118- text : ' use-any: since GO 1.18 '' interface{} '' can be replaced by '' any '' '
119+ text : ' use-any'
119120 - path : codegen/testserver/followschema/resolver.go
120- text : ' use-any: since GO 1.18 '' interface{} '' can be replaced by '' any '' '
121+ text : ' use-any'
121122 - path : codegen/testserver/singlefile/resolver.go
122- text : ' use-any: since GO 1.18 '' interface{} '' can be replaced by '' any '' '
123+ text : ' use-any'
123124 - linters :
124125 - staticcheck
125126 path : codegen/testserver/generated_test.go
Original file line number Diff line number Diff line change 11package model
22
3- type _FieldSet string //nolint:deadcode, unused
3+ type _FieldSet string //nolint:unused
44
55type Hello struct {
66 Name string
Original file line number Diff line number Diff line change 11package model2
22
3- type FieldSet string //nolint:deadcode
3+ type FieldSet string
44
55type Hello struct {
66 Name string
Original file line number Diff line number Diff line change 11package model
22
3- type _FieldSet string //nolint:deadcode, unused
3+ type _FieldSet string //nolint:unused
44
55type Hello struct {
66 Name string
You can’t perform that action at this time.
0 commit comments