lint #295
Annotations
10 errors and 4 warnings
lint:
tlwire/encdec_test.go#L42
declaration has 3 blank identifiers (dogsled)
|
lint:
convert/json.go#L255
255-275 lines are duplicate of `convert/logfmt.go:261-281` (dupl)
|
lint:
convert/logfmt.go#L261
261-281 lines are duplicate of `convert/json.go:255-275` (dupl)
|
lint:
rotating/file.go#L168
Error return value of `f.removeOld` is not checked (errcheck)
|
lint:
web/server.go#L227
ptrToRefParam: consider `errp' to be of non-pointer type (gocritic)
|
lint:
web/server.go#L146
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
convert/rewriter.go#L258
builtinShadowDecl: shadowing of predeclared identifier: min (gocritic)
|
lint:
ext/tlclick/pool.go#L11
hugeParam: opts is heavy (296 bytes); consider passing it by pointer (gocritic)
|
lint:
cmd/tlog/tlogcmd/main.go#L788
ptrToRefParam: consider `errp' to be of non-pointer type (gocritic)
|
lint:
cmd/tlog/tlogcmd/main.go#L792
ptrToRefParam: consider `errp' to be of non-pointer type (gocritic)
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
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/
|
lint
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/
|