Skip to content

Commit

Permalink
ci: update linters to v1.58.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kopi-solarpunk committed May 13, 2024
1 parent a8829da commit 1e3cad6
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .golangci-strict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ linters:
- errchkjson
- errname
- errorlint
- execinquery
# - execinquery # deprecated since v1.58.0
- exhaustive
# - exhaustruct # anoying
- exportloopref
Expand All @@ -39,12 +39,12 @@ linters:
- gocyclo
- godot
# - godox # "TODO" is allowed
- goerr113
- err113
- gofmt
- gofumpt
- goheader
- goimports
- gomnd
# - gomnd # deprecated since v1.58.0
- gomoddirectives
- gomodguard
- goprintffuncname
Expand All @@ -65,6 +65,7 @@ linters:
- makezero
- mirror
- misspell
- mnd
- musttag
- nakedret
- nestif
Expand Down Expand Up @@ -132,6 +133,9 @@ issues:
linters:
- funlen
- dupl
- path: version\.go
linters:
- gochecknoglobals
- linters:
- goheader
text: "go-ethereum Authors" ## disable check for other authors
Expand Down Expand Up @@ -171,11 +175,23 @@ issues:
exclude-use-default: false
max-issues-per-linter: 0
output:
formats:
- format: colored-line-number
path: stdout
print-issued-lines: false
show-stats: true
uniq-by-line: false
sort-results: true
sort-order:
- file # filepath, line, and column.
- linter
- severity
- severity
severity:
default-severity: error
rules:
- linters:
- revive
severity: warning
- linters:
- lll
severity: info

0 comments on commit 1e3cad6

Please sign in to comment.