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

task: update golangci lint #213

Merged
merged 1 commit into from
Oct 17, 2023
Merged

task: update golangci lint #213

merged 1 commit into from
Oct 17, 2023

Conversation

gssbzn
Copy link
Collaborator

@gssbzn gssbzn commented Oct 17, 2023

Update golangci linter and do some clean up

@gssbzn gssbzn requested a review from a team as a code owner October 17, 2023 11:13
@@ -15,8 +15,6 @@ linters-settings:
min-complexity: 15
govet:
check-shadowing: true
maligned:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this linter is not enabled

@@ -65,7 +63,6 @@ linters:
disable-all: true
enable:
- bodyclose # checks whether HTTP response body is closed successfully [fast: false, auto-fix: false]
- depguard # Go linter that checks if package imports are in a list of acceptable packages [fast: false, auto-fix: false]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

unused and now fails if the allowed list is not defined

Copy link
Collaborator

@andreaangiolillo andreaangiolillo left a comment

Choose a reason for hiding this comment

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

LGTM

@gssbzn gssbzn merged commit a638b53 into master Oct 17, 2023
3 checks passed
@gssbzn gssbzn deleted the bump-linter branch October 17, 2023 11:19
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.

None yet

2 participants