Skip to content

docs: add arguments to a few revive rules #5562

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 1 commit into from
Mar 17, 2025

Conversation

alexandear
Copy link
Member

This PR updates reference by adding arguments to these revive rules:

  • defer
  • dot-imports
  • enforce-repeated-arg-type-style
  • exported
  • import-alias-naming

@ldez ldez self-requested a review March 17, 2025 14:06
@ldez ldez added the topic: cosmetic changes contain cosmetic improvements label Mar 17, 2025
@ldez ldez added this to the v2-unreleased milestone Mar 17, 2025
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once again the documentation of revive inside the golangci-lint documentation is not the documentation of revive this is why there are links on the revive documentation on all the options.

@ldez ldez merged commit 116118d into golangci:main Mar 17, 2025
19 checks passed
@alexandear alexandear deleted the docs/add-revive-args branch March 17, 2025 20:41
@ldez ldez modified the milestones: v2-unreleased, v2 Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs topic: cosmetic changes contain cosmetic improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants