# HG changeset patch
# User Axel Prel <axel.prel@xcg-consulting.fr>
# Date 1742301685 -3600
#      Tue Mar 18 13:41:25 2025 +0100
# Node ID 1dd055d904e456f5ba29c69459ec04c5f21c92eb
# Parent  0ac85576de99354517d34ca5ccd77e754224b93e
enable forbidigo

excluding cmd since some commands legitimately use printing in the console

diff --git a/.golangci.yml b/.golangci.yml
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -43,7 +43,7 @@
     # - exhaustruct  # Checks if all struct's fields are initialized	style, test		v1.32.0
     - exptostd # Detects functions from golang.org/x/exp/ that can be replaced by std functions. [auto-fix]
     - fatcontext # Detects nested contexts in loops.	performance		1.58.0
-    # - forbidigo  # Forbids identifiers	style		v1.34.0
+    - forbidigo  # Forbids identifiers	style		v1.34.0
     - forcetypeassert  # finds forced type assertions	style		v1.38.0
     # - funlen  # Tool for detection of long functions	complexity		v1.18.0
     - gci  # Gci control golang package import order and make it always deterministic.	format, import	✔	v1.30.0
@@ -165,6 +165,9 @@
     - path: 'cmd/|auth/|restapi/'
       linters:
         - lll
+    - path: 'cmd'
+      linters:
+        - forbidigo
   exclude-dirs:
     - dependencies
     - restapi/operations