Skip to content

Commit

Permalink
Golangci lint up (#67)
Browse files Browse the repository at this point in the history
* golangci-lint v1.57.2

* save

* save

* save

* save
  • Loading branch information
AskAlexSharov committed Apr 18, 2024
1 parent 4ae5e11 commit 12190a8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
deadline: 10m
timeout: 10m

linters:
presets:
Expand Down Expand Up @@ -41,7 +41,6 @@ linters-settings:
# By default list of stable checks is used.
enabled-checks:
# - ruleguard
- truncateCmp
# - defaultCaseOrder

# Which checks should be disabled; can't be combined with 'enabled-checks'; default is empty
Expand Down Expand Up @@ -83,9 +82,6 @@ linters-settings:
sizeThreshold: 512
# whether to check test functions (default true)
skipTestFuncs: true
truncateCmp:
# whether to skip int/uint/uintptr types (default true)
skipArchDependent: true
underef:
# whether to skip (*x).method() calls where x is a pointer receiver (default true)
skipRecvDeref: true
Expand Down Expand Up @@ -118,19 +114,16 @@ issues:
linters:
- gosec
- unused
- deadcode
- gocritic
- path: hack\.go
linters:
- gosec
- unused
- deadcode
- gocritic
- path: cmd/devp2p
linters:
- gosec
- unused
- deadcode
- gocritic
- path: metrics/sample\.go
linters:
Expand Down

0 comments on commit 12190a8

Please sign in to comment.