golangci-lint: enable thelper linter by mmorel-35 · Pull Request #2834 · testcontainers/testcontainers-go

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Comments

Conversation

@mmorel-35

Copy link

Contributor

What does this PR do?

Setup thelper linter and apply it’s recommandations .

Why is it important?

Thelper detects tests helpers which is not start with t.Helper() method.

Signed-off-by: Matthieu MOREL matthieu.morel35@gmail.com

stevenh reacted with heart emoji

@netlify

Copy link

netlify bot commented

Oct 18, 2024

edited

Loading

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 9e282e5
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/67125186bc56d70008127b99
😎 Deploy Preview https://deploy-preview-2834--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.


To edit notification comments on pull requests, go to your Netlify site configuration.

@mmorel-35 mmorel-35 force-pushed the golangci-lint/thelper branch 2 times, most recently from 8b80f4d to d9dcd0b Compare

October 18, 2024 12:06

mdelapenya

mdelapenya previously approved these changes Oct 18, 2024

Copy link

Member

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for this improvement 🙇

mmorel-35 reacted with thumbs up emoji
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

@mmorel-35 mmorel-35 force-pushed the golangci-lint/thelper branch from d9dcd0b to 9e282e5 Compare

October 18, 2024 12:16

@mmorel-35 mmorel-35 marked this pull request as ready for review

October 18, 2024 12:16

@mmorel-35 mmorel-35 requested a review from a team as a code owner

October 18, 2024 12:16

@mdelapenya mdelapenya self-assigned this

Oct 18, 2024

@mdelapenya mdelapenya added the chore

Changes that do not impact the existing functionality

label

Oct 18, 2024

@mdelapenya mdelapenya merged commit b74984d into testcontainers:main

Oct 18, 2024

@mmorel-35 mmorel-35 deleted the golangci-lint/thelper branch

October 18, 2024 12:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mdelapenya mdelapenya mdelapenya approved these changes

Assignees

@mdelapenya mdelapenya

Labels

chore

Changes that do not impact the existing functionality

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mmorel-35 @mdelapenya