From 65139ba9a39970ce1dd8e7771cd5ed2991c824c8 Mon Sep 17 00:00:00 2001 From: lauener Date: Fri, 31 May 2024 16:34:34 +0200 Subject: [PATCH] Update golangci rules --- .golangci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index edc035a4b..39e215261 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -256,4 +256,16 @@ issues: - gocognit - funlen - gocyclo - - cyclop \ No newline at end of file + - cyclop + - path: "group/edwards25519/scalar.go" + linters: + - ineffassign + - path: "pairing" + linters: + - revive + - stylecheck + text: "var-naming: don't use an underscore in package name|ST1003: should not use underscores in package names" + - path: "pairing/(circl_bls12381|bn254)/." + linters: + - errcheck #TODO: proper error handling + text: "Error return value is not checked" \ No newline at end of file