Skip to content

make lint deprecations #4081

@markmandel

Description

@markmandel

Pottering on some stuff, I noticed the linters are throwing warnings:

❯ make lint
# ...
build:de32cc7246 bash -c \
        "git config --global --add safe.directory /go/src/agones.dev/agones && \
        golangci-lint run ./examples/... && \
        golangci-lint run --timeout 15m ./... && \
        yamllint ."
WARN [config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`.
WARN [config_reader] The configuration option `output.format` is deprecated, please use `output.formats`
WARN [lintersdb] The linter named "megacheck" is deprecated. It has been split into: gosimple, staticcheck, unused.
WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
WARN [config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`.
WARN [config_reader] The configuration option `output.format` is deprecated, please use `output.formats`
WARN [lintersdb] The linter named "megacheck" is deprecated. It has been split into: gosimple, staticcheck, unused.
WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.

Context: https://golangci-lint.run/

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/build-toolsDevelopment tooling. I.e. pretty much everything in the `build` directory.good first issueThese are great first issues. If you are looking for a place to start, start here!help wantedWe would love help on these issues. Please come help us!kind/cleanupRefactoring code, fixing up documentation, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions