Skip to content

Commit

Permalink
ci(golangci): update config (#276)
Browse files Browse the repository at this point in the history
Remove usage of depreciated values
  • Loading branch information
sambacha authored Apr 16, 2024
1 parent da6ea72 commit b642a5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# This file configures github.com/golangci/golangci-lint.
# see <https://golangci-lint.run/usage/configuration>

run:
timeout: 20m
tests: true
# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs-use-default: true
skip-files:
- core/genesis_alloc.go


linters:
disable-all: true
Expand Down Expand Up @@ -40,6 +39,9 @@ linters-settings:
simplify: true

issues:
exclude-dirs-use-default: true
exclude-dirs:
- core/genesis_alloc.go
exclude-rules:
- path: crypto/bn256/cloudflare/optate.go
linters:
Expand Down

0 comments on commit b642a5b

Please sign in to comment.