Skip to content

Commit

Permalink
Add linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kopi-solarpunk committed May 13, 2024
1 parent 854e566 commit 0025e07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .golangci-strict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ linters:
# - copyloopvar # requires Go 1.22
- cyclop
- decorder
# - depguard disable temporary until this issue is resolved: https://github.com/golangci/golangci-lint/issues/3906
# - depguard # a list of acceptable packages is necessary to use this
- dogsled
- dupl
- dupword
Expand Down Expand Up @@ -128,6 +128,10 @@ linters-settings:
ignore-missing: true
issues:
exclude-rules:
- path: _test\.go
linters:
- funlen
- dupl
- linters:
- goheader
text: "go-ethereum Authors" ## disable check for other authors
Expand Down Expand Up @@ -165,6 +169,7 @@ issues:
- ".*\\.pb\\.go"
- "asdf.*"
exclude-use-default: false
max-issues-per-linter: 0
output:
print-issued-lines: false
show-stats: true
Expand Down

0 comments on commit 0025e07

Please sign in to comment.