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

Add more linters to golangci-lint #456

Merged
merged 4 commits into from
Nov 20, 2023
Merged

Conversation

pieterlexis-tomtom
Copy link
Contributor

This PR adds the following linters and fixes the code for said linters:

  • govet
  • goimports
  • gosimple
  • ineffassign
  • stylecheck
  • gocritic

@pieterlexis-tomtom pieterlexis-tomtom force-pushed the linting branch 4 times, most recently from 53fb02e to 8453b64 Compare November 9, 2023 15:55
@pieterlexis-tomtom pieterlexis-tomtom marked this pull request as ready for review November 10, 2023 08:38
@pieterlexis-tomtom
Copy link
Contributor Author

The gocritic commit contains actual code changes. I can recommend reviewing that commit properly.

@dmachard
Copy link
Owner

If you're OK with it, I'll review this PR as first for v0.39.0
The v0.38.0 release is planned for next week.

@pieterlexis-tomtom
Copy link
Contributor Author

No rush, just remember the conflicts will pile up :)

@dmachard
Copy link
Owner

dmachard commented Nov 17, 2023

Hi, the release v0.38.0 is out :)
Could you please resynchronize your branch?
Thanks!

@pieterlexis-tomtom
Copy link
Contributor Author

Hi, the release v0.38.0 is out :) Could you please resynchronize your branch? Thanks!

Done, I hope I didn't mess things up :)

Some of the larger if statements have been marked with 'nolint' as they
are correct and concise. This makes it hard to write the same
functionality in a better way.
@pieterlexis-tomtom
Copy link
Contributor Author

The gocritic commit contains actual code changes. I can recommend reviewing that commit properly.

This comment is still relevant

@dmachard dmachard merged commit b919e8d into dmachard:main Nov 20, 2023
51 checks passed
@pieterlexis-tomtom pieterlexis-tomtom deleted the linting branch November 21, 2023 10:25
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.

2 participants