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

Make the configuration of ci more simpler and fix the error #627

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

Aisuko
Copy link
Member

@Aisuko Aisuko commented Sep 30, 2023

Description

This PR is related to #623

And I have been checked the project and I do not see the same error in issue 623. So, we can close issue #623 with this PR.

This PR replace the configuration of golangci-lint which is used in meshy-operator project. It is quit solid configuration. It only enables specific linters and with two enhance points of the project:

  • The configuration is simpler than before, only several short lines.
  • It cover the most common scenarios.

And according to the latest CI configuration, I also fixed some issues like err variable was created by several times.

And I also remove many of flags like #nosec. It is really not helpful for maintain the project.

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link
Member Author

@Aisuko Aisuko left a comment

Choose a reason for hiding this comment

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

approved

@Aisuko Aisuko merged commit 7acc183 into master Oct 9, 2023
9 of 21 checks passed
@Aisuko Aisuko deleted the fixed/wrongUseErr branch October 9, 2023 07:48
@yash37158
Copy link
Member

Hey @Aisuko we also have this same issue in meshkit repo as well. it would be great if you can make that simpler

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