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

[chore]: enable go-require rule from testifylint #35190

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

mmorel-35
Copy link
Contributor

Description

Testifylint is a linter that provides best practices with the use of testify.

This PR enables go-require rule from testifylint

@mmorel-35 mmorel-35 force-pushed the testifylint/go-require branch 2 times, most recently from ef61ec6 to e41af23 Compare September 14, 2024 14:01
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

Do you have a link to the docs explaining what this rule does?

@mmorel-35
Copy link
Contributor Author

Yes it is in the description of the PR see
https://github.com/Antonboom/testifylint?tab=readme-ov-file#go-require

Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

🤦 sorry, hadn't seen the link in the description. Just one more question, otherwise LGTM

.golangci.yml Outdated Show resolved Hide resolved
@mx-psi mx-psi merged commit bf19461 into open-telemetry:main Sep 16, 2024
155 of 156 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 16, 2024
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
#### Description

Testifylint is a linter that provides best practices with the use of
testify.

This PR enables
[go-require](https://github.com/Antonboom/testifylint?tab=readme-ov-file#go-require)
rule from [testifylint](https://github.com/Antonboom/testifylint)

---------

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants