Skip to content

dev: use analyzer fields for name, doc instead of hardcoded strings #4214

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
Nov 20, 2023

Conversation

alexandear
Copy link
Member

This PR refactors linters constructors to use analyzer.Name and analyzer.Doc instead of hardcoded strings.

@ldez ldez changed the title golinters: use analyzer fields for name, doc instead of hardcoded strings dev: use analyzer fields for name, doc instead of hardcoded strings Nov 20, 2023
@ldez ldez added the topic: cosmetic changes contain cosmetic improvements label Nov 20, 2023
@ldez ldez merged commit ce020c6 into golangci:master Nov 20, 2023
@alexandear alexandear deleted the golinters-name-doc branch November 20, 2023 20:13
@ldez ldez modified the milestone: v1.56 Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: cosmetic changes contain cosmetic improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants