Skip to content

dev: sorts deprecated linters at the end of lists #4642

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

Merged
merged 2 commits into from
Apr 14, 2024

Conversation

ldez
Copy link
Member

@ldez ldez commented Apr 13, 2024

Sorts deprecated linters at the end of lists.

usestdlibvars: A linter that detect the possibility to use variables/constants from the Go standard library. [fast: true, auto-fix: false]
varnamelen: checks that the length of a variable's name matches its scope [fast: false, auto-fix: false]
wastedassign: Finds wasted assignment statements [fast: false, auto-fix: false]
wrapcheck: Checks that errors returned from external packages are wrapped [fast: false, auto-fix: false]
wsl: add or remove empty lines [fast: true, auto-fix: false]
zerologlint: Detects the wrong usage of `zerolog` that a user forgets to dispatch with `Send` or `Msg` [fast: false, auto-fix: false]
deadcode [deprecated]: Deprecated [fast: false, auto-fix: false]
exhaustivestruct [deprecated]: Deprecated [fast: false, auto-fix: false]
golint [deprecated]: Deprecated [fast: false, auto-fix: false]
ifshort [deprecated]: Deprecated [fast: true, auto-fix: false]
interfacer [deprecated]: Deprecated [fast: false, auto-fix: false]
maligned [deprecated]: Deprecated [fast: false, auto-fix: false]
nosnakecase [deprecated]: Deprecated [fast: true, auto-fix: false]
scopelint [deprecated]: Deprecated [fast: true, auto-fix: false]
structcheck [deprecated]: Deprecated [fast: false, auto-fix: false]
varcheck [deprecated]: Deprecated [fast: false, auto-fix: false]

Screenshot 2024-04-13 at 17-20-16 Linters golangci-lint

@ldez ldez added area: docs topic: cosmetic changes contain cosmetic improvements area: CLI Related to CLI labels Apr 13, 2024
@ldez ldez added this to the next milestone Apr 13, 2024
@ldez ldez changed the title dev: sorts deprecated linters at the end of lists. dev: sorts deprecated linters at the end of lists Apr 13, 2024
@ldez ldez merged commit ad70a88 into golangci:master Apr 14, 2024
13 checks passed
@ldez ldez deleted the feat/sort-deprecated branch April 14, 2024 12:40
@ldez ldez modified the milestones: next, v1.58 May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CLI Related to CLI area: docs topic: cosmetic changes contain cosmetic improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants