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

checkers/rules/rules.go:dynamicFmtString: advice doc string Fixes #1381 #1438

Merged
merged 4 commits into from
Mar 18, 2025

Conversation

Afterous
Copy link
Contributor

@Afterous Afterous commented Oct 10, 2024

Hello,
If this PR is accepted, I believe it will fix the issue reported here.

Please let me know if there is anything else I can update (e.g. alter .github/workflow/doc.yaml to fail if go generate wasn't ran and a diff is detected).

go generate was needed to update the rulesdata.go file. Once updated
make docs updated the advice given in
https://go-critic.com/overview.html#dynamicfmtstring

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
@Afterous
Copy link
Contributor Author

Afterous commented Nov 9, 2024

@alexandear I've merged in your suggestions, sorry I didn't catch that the first time.

Feel free to approve and merge when ready.

@alexandear
Copy link
Contributor

See #1437 (comment)

@Afterous Afterous changed the title checkers/rules/rules.go:dynamicFmtString: fix advice doc string for issue 1381 checkers/rules/rules.go:dynamicFmtString: advice doc string Fixes #1381 Nov 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Member

@cristaloleg cristaloleg left a comment

Choose a reason for hiding this comment

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

Thanks!

@cristaloleg cristaloleg merged commit b4dfa2b into go-critic:master Mar 18, 2025
2 checks passed
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.

None yet

3 participants