diff --git a/.golangci.yml b/.golangci.yml index 8d6390811..84265a722 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,6 +8,10 @@ run: # This file contains only configs which differ from defaults. # All possible options can be found here https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml linters-settings: + staticcheck: + checks: + - all + - '-SA1019' // Ignore deprecated for now cyclop: # The maximal code complexity to report. # Default: 10 @@ -163,7 +167,7 @@ linters: #- decorder # checks declaration order and count of types, constants, variables and functions #- exhaustruct # checks if all structure fields are initialized #- gci # controls golang package import order and makes it always deterministic - - godox # detects FIXME, TODO and other comment keywords + #- godox # detects FIXME, TODO and other comment keywords #- goheader # checks is file header matches to pattern - interfacebloat # checks the number of methods inside an interface #- ireturn # accept interfaces, return concrete types @@ -252,6 +256,10 @@ issues: - path: 'group/edwards25519/scalar.go' linters: - ineffassign + - funlen - path: 'group/edwards25519/const.go' linters: - lll + - path: 'group/edwards25519/fe.go' + linters: + - funlen \ No newline at end of file