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: disable only-new-issues #125

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Conversation

julianbrost
Copy link
Collaborator

@julianbrost julianbrost commented Nov 14, 2023

only-new-issues seems to hide some issues in PRs even if they are introduced there. For example, removing all usages of a struct field without touching the field itself is not detected. This can result in CI failures after merging, see #108 and 6f4b437 for example.

@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Nov 14, 2023
@julianbrost julianbrost force-pushed the golangci-lint-all-issues branch from 8eccd53 to d427f02 Compare November 14, 2023 16:12
only-new-issues seems to hide some issues in PRs even if they are introduced
there.  For example, removing all usages of a struct field without touching the
field itself is not detected. This can result in CI failures after merging,
see #108 and 6f4b437 for example.
@julianbrost julianbrost force-pushed the golangci-lint-all-issues branch from d427f02 to 56d59ba Compare November 14, 2023 16:14
@julianbrost julianbrost requested a review from oxzi November 14, 2023 16:15
Copy link
Member

@oxzi oxzi left a comment

Choose a reason for hiding this comment

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

When searching the net for problems with only-new-issues, some others are popping up. Thus, seems like there are some issues in this regard.

As there should be nothing to complain on our current main branch anyway, we should be able to drop this option.

@julianbrost julianbrost merged commit 08033dd into main Nov 15, 2023
2 checks passed
@julianbrost julianbrost deleted the golangci-lint-all-issues branch November 15, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed CLA is signed by all contributors of a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants