Skip to content

enable more linters #490

enable more linters

enable more linters #490

Triggered via pull request May 13, 2023 07:26
@mmorel-35mmorel-35
synchronize #473
linters
Status Failure
Total duration 26s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
lint
issues found
lint
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/setup-go@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
lint: expfmt/expfmt.go#L27
var-naming: don't use underscores in Go names; const OpenMetricsVersion_0_0_1 should be OpenMetricsVersion0_0_1 (revive)
lint: expfmt/expfmt.go#L28
var-naming: don't use underscores in Go names; const OpenMetricsVersion_1_0_0 should be OpenMetricsVersion1_0_0 (revive)
lint: expfmt/expfmt.go#L36
var-naming: don't use underscores in Go names; const FmtOpenMetrics_1_0_0 should be FmtOpenMetrics1_0_0 (revive)
lint: expfmt/expfmt.go#L37
var-naming: don't use underscores in Go names; const FmtOpenMetrics_0_0_1 should be FmtOpenMetrics0_0_1 (revive)
lint: promlog/log.go#L134
unexported-return: exported func NewDynamic returns unexported type *promlog.logger, which can be annoying to use (revive)
lint: promlog/log.go#L145
unexported-return: exported func NewDynamicWithLogger returns unexported type *promlog.logger, which can be annoying to use (revive)