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

update .golangci.yml #49

Merged
merged 3 commits into from
Jun 6, 2024
Merged

update .golangci.yml #49

merged 3 commits into from
Jun 6, 2024

Conversation

adisos
Copy link
Contributor

@adisos adisos commented Jun 6, 2024

No description provided.

Signed-off-by: adisos <adisos@il.ibm.com>
Signed-off-by: adisos <adisos@il.ibm.com>
@pull-request-size pull-request-size bot added size/L and removed size/S labels Jun 6, 2024
@adisos adisos marked this pull request as ready for review June 6, 2024 07:47
@adisos adisos requested a review from zivnevo June 6, 2024 07:47
.golangci.yml Outdated
@@ -103,7 +102,6 @@ linters:
- makezero
- misspell
- nakedret
- nestif
Copy link
Member

Choose a reason for hiding this comment

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

Please leave nestif - it is a good practice to avoid deep nesting

Signed-off-by: adisos <adisos@il.ibm.com>
Comment on lines +1 to +5
/*
Copyright 2023- IBM Inc. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/
Copy link
Member

Choose a reason for hiding this comment

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

Only the start year needs to be changed (2023). There's no need for longer comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Preferred to use the same header style as in the other repos, so it is more consistent.

@adisos adisos merged commit 9e2ccff into main Jun 6, 2024
4 checks passed
@adisos adisos deleted the update_linter_config branch June 6, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants