You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file cleosrv/graph/schema.resolvers.go seems to be detected as auto-generated even though that is only partially true. golangci-lint automatically skips generated files and seems to give no recourse in this case (see golangci/golangci-lint#2864).
In addition some linters also impose restrictions e.g. gci has a skip-generated: true option which defaults to true.
The easiest solution for this is to ensure that the file contains as little code as possible and just calls external functions or methods in a path more clearly under our control.
The text was updated successfully, but these errors were encountered:
The file
cleosrv/graph/schema.resolvers.go
seems to be detected as auto-generated even though that is only partially true. golangci-lint automatically skips generated files and seems to give no recourse in this case (see golangci/golangci-lint#2864).In addition some linters also impose restrictions e.g. gci has a
skip-generated: true
option which defaults to true.The easiest solution for this is to ensure that the file contains as little code as possible and just calls external functions or methods in a path more clearly under our control.
The text was updated successfully, but these errors were encountered: