Skip to content

lint: upgrade gomodguard to v2#46

Merged
roman-khimov merged 1 commit intomasterfrom
upgrade-gomodguard-linter
May 5, 2026
Merged

lint: upgrade gomodguard to v2#46
roman-khimov merged 1 commit intomasterfrom
upgrade-gomodguard-linter

Conversation

@End-rey
Copy link
Copy Markdown
Contributor

@End-rey End-rey commented May 5, 2026

WARN The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2.
WARN Suggested new configuration:
linters:
  enable:
    - gomodguard_v2
  settings:
    gomodguard_v2:
      blocked:
        - module: github.com/pkg/errors
          reason: Obsolete after the 1.13 release; use the standard `errors` package

@End-rey End-rey requested a review from roman-khimov May 5, 2026 13:49
@End-rey End-rey self-assigned this May 5, 2026
Comment thread .golangci.yml Outdated
@End-rey End-rey force-pushed the upgrade-gomodguard-linter branch from b964361 to a072284 Compare May 5, 2026 14:25
@End-rey End-rey requested a review from AnnaShaleva May 5, 2026 14:25
```
WARN The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2.
WARN Suggested new configuration:
linters:
  enable:
    - gomodguard_v2
  settings:
    gomodguard_v2:
      blocked:
        - module: github.com/pkg/errors
          reason: Obsolete after the 1.13 release; use the standard `errors` package
```

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
@roman-khimov roman-khimov merged commit d6749d2 into master May 5, 2026
1 check passed
@roman-khimov roman-khimov deleted the upgrade-gomodguard-linter branch May 5, 2026 20:06
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.

3 participants