Skip to content

Commit

Permalink
relax golangci rules
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed Feb 25, 2024
1 parent 74851c6 commit d9ca491
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit d9ca491

Please sign in to comment.