Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fix linter deprecation warnings #123

Merged
merged 4 commits into from
Sep 2, 2024
Merged

Conversation

rriski
Copy link
Contributor

@rriski rriski commented Aug 30, 2024

About this change - What it does

Fixes deprecated golangci-lint linters and options

Why this way

No more deprecation warnings

rriski added 4 commits August 30, 2024 13:46
Fixes warning when running `golangci-lint run`:

    WARN The linter 'gomnd' is deprecated (since v1.58.0) due to:
    The linter has been renamed. Replaced by mnd.
Fixes warning when running `golangci-lint run`:

    WARN [config_reader] The configuration option `linters.govet.check-shadowing` is
    deprecated. Please enable `shadow` instead, if you are not using `enable-all`.

Enables all `govet` checks except `fieldalignment`.
@rriski rriski requested a review from a team as a code owner August 30, 2024 12:24
@byashimov byashimov merged commit 153ad33 into main Sep 2, 2024
6 checks passed
@byashimov byashimov deleted the rriski-linter-updates branch September 2, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants