Skip to content

Conversation

oxzi
Copy link
Member

@oxzi oxzi commented Oct 14, 2025

Address golangci-lint issues which are not shown in pull requests as within PRs, only new issues are hinted. After this change, we are clean on linter issues.

Details are available in the commit messages.

oxzi added 3 commits October 14, 2025 15:12
Initialize a .golangci.yml configuration file based on the configuration
file from Icinga Notifications[0].

[0]: https://github.com/Icinga/icinga-notifications/blob/272ecf231f59f94a5bf56739ab11263f0c69a081/.golangci.yml
There were multiple occurrences of forcetypeassert throughout the
codebase. In most cases, an if guard was added to return an error.
Sometimes, a panic was raised as refactoring would be too much. And
once, a nolint annotation was added as the actual check was out of
scope.
The linter cannot handle icingadb-migrate.
@oxzi oxzi added this to the 1.5.0 milestone Oct 14, 2025
@cla-bot cla-bot bot added the cla/signed label Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant