From 0121ff58909aa0920b1c59c1d917b443095fd221 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 2 Dec 2024 01:23:54 +0100 Subject: [PATCH] chore: minor changes --- .golangci.yml | 2 ++ gomoddirectives.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index f223f15..7f25666 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -85,6 +85,8 @@ issues: - goconst - maintidx - path: cmd/gomoddirectives/gomoddirectives.go + linters: + - forbidigo text: 'use of `fmt.Println` forbidden' output: diff --git a/gomoddirectives.go b/gomoddirectives.go index 9d4d9cc..f3af4c5 100644 --- a/gomoddirectives.go +++ b/gomoddirectives.go @@ -1,4 +1,4 @@ -// Package gomoddirectives a linter that handle `replace`, `retract`, `exclude` directives into `go.mod`. +// Package gomoddirectives a linter that handle directives into `go.mod`. package gomoddirectives import (