chore: enable some more linters (#16)

This commit is contained in:
Julian Tölle 2024-08-23 22:35:06 +02:00 committed by GitHub
parent f0eed8cc56
commit d5fd606577
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 48 additions and 18 deletions

View file

@ -51,9 +51,9 @@ func run(cmd *cobra.Command, _ []string) error {
BaseBranch: flagBranch,
}
switch flagForge {
//case "gitlab":
//f = rp.NewGitLab(forgeOptions)
switch flagForge { // nolint:gocritic // Will become a proper switch once gitlab is added
// case "gitlab":
// f = rp.NewGitLab(forgeOptions)
case "github":
logger.DebugContext(ctx, "using forge GitHub")
forge = rp.NewGitHub(logger, &rp.GitHubOptions{