From 950affbbe4755a9baa3360aa2b963fb813f23767 Mon Sep 17 00:00:00 2001 From: Nathan Coleman Date: Tue, 11 Jun 2024 15:38:10 -0400 Subject: [PATCH] Link to PR explaining the format of forbidigo.forbid --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci.yml b/.golangci.yml index 36f0ddd915..e530ce70bd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -75,6 +75,7 @@ linters-settings: simplify: true forbidigo: # Forbid the following identifiers (list of regexp). + # Format includes custom message based on https://github.com/ashanbrown/forbidigo/pull/11 forbid: - '\bhtml\/template\b(# Use text/template instead)?' - '\bioutil\b(# Use io and os packages instead of ioutil)?'