From 65d8292b88b85647905ec626e8d7ffd6dba6a896 Mon Sep 17 00:00:00 2001 From: Gabriel de Quadros Ligneul Date: Wed, 21 Aug 2024 11:55:37 -0300 Subject: [PATCH] Disable G115 linter rule This rule seems to be broken. More info on: https://github.com/securego/gosec/issues/1185 --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci.yml b/.golangci.yml index 05946701379..8578b1cec86 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -44,6 +44,7 @@ linters-settings: gosec: excludes: - G404 # checks that random numbers are securely generated + - G115 # check is failing wrongly for integer conversions govet: enable-all: true