chore: enable some more linters

This commit is contained in:
Julian Tölle 2024-08-23 22:29:09 +02:00
parent f0eed8cc56
commit 63649d4397
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{