Bug: Adjust Casing in TC URL Path #39
Annotations
5 errors and 10 warnings
golint:
lib/chttp/http.go#L61
directive `// nolint:errcheck` should be written without leading space as `//nolint:errcheck` (nolintlint)
|
golint:
cli/gh-pr-filters.go#L92
directive `// nolint:gocritic` should be written without leading space as `//nolint:gocritic` (nolintlint)
|
golint:
cli/gh-pr-filters.go#L210
directive `// nolint:gocritic` should be written without leading space as `//nolint:gocritic` (nolintlint)
|
golint:
cli/gh-pr.go#L139
directive `// nolint: noctx` should be written without leading space as `//nolint: noctx` (nolintlint)
|
golint
issues found
|
golint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golint:
lib/chttp/http.go#L50
unexported-return: exported func NewTransport returns unexported type *chttp.transport, which can be annoying to use (revive)
|
golint:
lib/gh/pr.go#L50
unused-parameter: parameter 'resp' seems to be unused, consider removing or renaming it as _ (revive)
|
golint:
cli/tc.go#L12
unexported-return: exported method NewServer returns unexported type cli.tcServer, which can be annoying to use (revive)
|
golint:
cli/gh.go#L15
unexported-return: exported method NewRepo returns unexported type cli.githubRepo, which can be annoying to use (revive)
|
golint:
cli/gh-pr-filters.go#L99
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golint:
cli/cmds.go#L18
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golint:
cli/cmds.go#L37
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golint:
cli/cmds.go#L49
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|