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

golangci-lint: add more linters #721

Merged
merged 3 commits into from
Jul 15, 2024
Merged

golangci-lint: add more linters #721

merged 3 commits into from
Jul 15, 2024

Conversation

katexochen
Copy link
Member

No description provided.

@katexochen katexochen added the no changelog PRs not listed in the release notes label Jul 12, 2024
@katexochen katexochen requested a review from burgerdev July 12, 2024 11:36
.golangci.yml Outdated Show resolved Hide resolved
.golangci.yml Show resolved Hide resolved
Comment on lines +345 to +350
cur, ok := current[p].(map[string]any)
if !ok || cur == nil {
cur = make(map[string]any)
current[p] = cur
}
current = current[p].(map[string]any)
current = cur
Copy link
Member Author

Choose a reason for hiding this comment

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

@burgerdev had to add this non-trivial fix, could you take a look?

Copy link
Contributor

Choose a reason for hiding this comment

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

seems good.

@katexochen katexochen requested a review from burgerdev July 12, 2024 15:30
Comment on lines +345 to +350
cur, ok := current[p].(map[string]any)
if !ok || cur == nil {
cur = make(map[string]any)
current[p] = cur
}
current = current[p].(map[string]any)
current = cur
Copy link
Contributor

Choose a reason for hiding this comment

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

seems good.

@katexochen katexochen merged commit 5e81770 into main Jul 15, 2024
9 checks passed
@katexochen katexochen deleted the p/golangci-more branch July 15, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants