diff --git a/.golangci.yml b/.golangci.yml index d6a48be7f..fefcac852 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,18 +8,8 @@ output: linters-settings: testifylint: - enable: - - bool-compare - - compares - - empty - - error-is-as - - error-nil - - expected-actual - - float-compare - - len - - suite-dont-use-pkg - - suite-extra-assert-call - - suite-thelper + disable: + - require-error linters: enable: diff --git a/flake.lock b/flake.lock index bc1f8ad89..1760fbd49 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1707619277, - "narHash": "sha256-vKnYD5GMQbNQyyQm4wRlqi+5n0/F1hnvqSQgaBy4BqY=", + "lastModified": 1707743206, + "narHash": "sha256-AehgH64b28yKobC/DAWYZWkJBxL/vP83vkY+ag2Hhy4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f3a93440fbfff8a74350f4791332a19282cc6dc8", + "rev": "2d627a2a704708673e56346fcb13d25344b8eaf3", "type": "github" }, "original": { diff --git a/internal/atls/atls.go b/internal/atls/atls.go index 6b2e066ae..6ad101cba 100644 --- a/internal/atls/atls.go +++ b/internal/atls/atls.go @@ -102,7 +102,7 @@ func getATLSConfigForClientFunc(issuer Issuer, validators []Validator) (func(*tl } // this function will be called once for every client - return func(chi *tls.ClientHelloInfo) (*tls.Config, error) { + return func(_ *tls.ClientHelloInfo) (*tls.Config, error) { // generate nonce for this connection serverNonce, err := crypto.GenerateRandomBytes(crypto.RNGLengthDefault) if err != nil {