v2: initial commit #1
Annotations
10 errors
Run pre-commit:
pkg/connector/backfill.go#L55
conversion from int64 to PaginationCursor (string) yields a string of one rune, not a string of digits
|
Run pre-commit:
pkg/connector/client.go#L69
this value of err is never used (SA4006)
|
Run pre-commit:
pkg/connector/client.go#L139
func (*LinkedInClient).convertEditToMatrix is unused (U1000)
|
Run pre-commit:
pkg/connector/client_sync.go#L16
func (*LinkedInClient).syncChannels is unused (U1000)
|
Run pre-commit:
pkg/connector/client_sync.go#L35
should omit comparison to bool constant, can be simplified to hasMore (S1002)
|
Run pre-commit:
pkg/connector/client_sync.go#L64
unnecessary assignment to the blank identifier (S1005)
|
Run pre-commit:
pkg/connector/login.go#L92
this value of err is never used (SA4006)
|
Run pre-commit:
pkg/connector/mapping.go#L199
this value of attachmentSize is never used (SA4006)
|
Run pre-commit:
pkg/connector/mapping.go#L212
this value of attachmentSize is never used (SA4006)
|
Run pre-commit:
pkg/linkedingo/client.go#L147
c.http.Transport.(*http.Transport).Dial has been deprecated since Go 1.7: Use DialContext instead, which allows the transport to cancel dials as soon as they are no longer needed. If both are set, DialContext takes priority. (SA1019)
|
Loading