fix: MM remote improvements #3792
Annotations
10 errors
build:
remote/mattermost/remote.go#L230
Error return value of `c.sendDirectMessage` is not checked (errcheck)
|
build:
remote/mattermost/remote.go#L293
`responce` is a misspelling of `response` (misspell)
|
build:
remote/mattermost/remote.go#L292
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
build:
remote/mattermost/remote.go#L71
unused-parameter: parameter 'b' seems to be unused, consider removing or renaming it as _ (revive)
|
build:
remote/mattermost/remote.go#L187
unused-parameter: parameter 'bot' seems to be unused, consider removing or renaming it as _ (revive)
|
build:
remote/mattermost/remote.go#L267
context-as-argument: context.Context should be the first parameter of a function (revive)
|
build:
remote/mattermost/remote.go#L288
context-as-argument: context.Context should be the first parameter of a function (revive)
|
build:
remote/mattermost/remote.go#L245
unnecessary trailing newline (whitespace)
|
build:
remote/mattermost/remote.go#L221
unnecessary trailing newline (whitespace)
|
build:
remote/mattermost/remote.go#L232
unnecessary trailing newline (whitespace)
|