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

ci(lint): enable misspell and gci linters #1162

Merged
merged 2 commits into from May 9, 2023
Merged

ci(lint): enable misspell and gci linters #1162

merged 2 commits into from May 9, 2023

Conversation

mmorel-35
Copy link
Contributor

What does this PR do?

Enables misspell and gci linters

Why is it important?

Fixes and prevent misspellings and organize in a fixed order the dependencies imports.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@mmorel-35 mmorel-35 requested a review from a team as a code owner May 9, 2023 09:49
@netlify
Copy link

netlify bot commented May 9, 2023

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 109907f
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/645a173887c99300078494eb
😎 Deploy Preview https://deploy-preview-1162--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 settings.

@sonarcloud
Copy link

sonarcloud bot commented May 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@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.

Thanks for this tiny and super valuable contribution!!

I've been thinking about it since ever, so super glad you had the time to add them to our golangci config 👏

LGTM 👍

image

@mmorel-35
Copy link
Contributor Author

mmorel-35 commented May 9, 2023

Hi @mdelapenya,

Do you have a list of linters you would like to add ?
I can give it a try.

@mdelapenya
Copy link
Collaborator

Hi @mdelapenya,

Do you have a list of linters you would like to add ? I can give it a try.

Not at this moment but the spell checker you added here.

If you want to add one or more, let's open a discussion with it. wdyt?

BTW, I'm merging this little one now 🚀 thanks!

@mmorel-35
Copy link
Contributor Author

If you want to add one or more, let's open a discussion with it. wdyt?

OK !

@mdelapenya mdelapenya self-assigned this May 9, 2023
@mdelapenya mdelapenya added the chore Changes that do not impact the existing functionality label May 9, 2023
@mdelapenya mdelapenya merged commit 6c3b1e5 into testcontainers:main May 9, 2023
56 checks passed
@mmorel-35 mmorel-35 deleted the linters branch May 9, 2023 15:15
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request May 11, 2023
* main:
  docs: enrich docs for modules (testcontainers#1167)
  chore: prepare for next minor development cycle (0.21.0)
  chore: use new version (v0.20.1) in modules and examples
  Revert "fix: don't panic when logs waits for more than 5 seconds (testcontainers#947)" (testcontainers#1164)
  fix: define a two-phase release process (testcontainers#1163)
  ci(lint): enable misspell and gci linters (testcontainers#1162)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Changes that do not impact the existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants