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 (