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

feat: warn if readme plugin contains a comment. #253

Merged
merged 5 commits into from
Sep 18, 2024
Merged

Conversation

s4kh
Copy link
Contributor

@s4kh s4kh commented Sep 13, 2024

Issue

#251 readme comment

Change

Warns if readme plugin contains a comment.

@s4kh s4kh requested review from a team as code owners September 13, 2024 21:50
@s4kh s4kh requested review from Ukochka, wbrowne, marefr and xnyo and removed request for a team September 13, 2024 21:50
@CLAassistant
Copy link

CLAassistant commented Sep 13, 2024

CLA assistant check
All committers have signed the CLA.

@s4kh s4kh requested a review from academo September 13, 2024 21:51
@s4kh s4kh force-pushed the skh-warn-readme-comment branch from b59cfcc to d5a9670 Compare September 17, 2024 12:54
@s4kh s4kh requested a review from academo September 17, 2024 12:55
Copy link
Member

@xnyo xnyo left a comment

Choose a reason for hiding this comment

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

LGTM! 🙌

}
if readmeComment.ReportAll {
readmeComment.Severity = analysis.OK
pass.ReportResult(pass.AnalyzerName, readmeComment, "README.md contains no comment(s).", "")
Copy link
Member

Choose a reason for hiding this comment

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

Nit:

Suggested change
pass.ReportResult(pass.AnalyzerName, readmeComment, "README.md contains no comment(s).", "")
pass.ReportResult(pass.AnalyzerName, readmeComment, "README.md doesn't contain any comment", "")

@s4kh s4kh merged commit 8c479a1 into main Sep 18, 2024
2 checks passed
@s4kh s4kh deleted the skh-warn-readme-comment branch September 18, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants