Skip to content

Commit b642a5b

Browse files
authored
ci(golangci): update config (ethereum-optimism#276)
Remove usage of depreciated values
1 parent da6ea72 commit b642a5b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.golangci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# This file configures github.com/golangci/golangci-lint.
2+
# see <https://golangci-lint.run/usage/configuration>
23

34
run:
45
timeout: 20m
56
tests: true
67
# default is true. Enables skipping of directories:
78
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
8-
skip-dirs-use-default: true
9-
skip-files:
10-
- core/genesis_alloc.go
9+
1110

1211
linters:
1312
disable-all: true
@@ -40,6 +39,9 @@ linters-settings:
4039
simplify: true
4140

4241
issues:
42+
exclude-dirs-use-default: true
43+
exclude-dirs:
44+
- core/genesis_alloc.go
4345
exclude-rules:
4446
- path: crypto/bn256/cloudflare/optate.go
4547
linters:

0 commit comments

Comments
 (0)