File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
# build-tags:
7
7
# - mytag
8
8
skip-dirs :
9
+ - lib/* # Can't run linter govet: can't run govet on source packages: can't read "lib/C": open lib/C: no such file ordirector
10
+ - signal/* # Can't run linter govet: can't run govet on source packages: can't read "signal/C": open signal/C: no such file ordirector
9
11
- static
10
12
skip-files :
11
13
- .*_mock.go
@@ -56,16 +58,16 @@ linters:
56
58
- ineffassign
57
59
- interfacer
58
60
- megacheck
59
- # - misspell
61
+ - misspell
60
62
- structcheck
61
63
- typecheck
62
64
- unconvert
63
65
- varcheck
64
66
fast : false
65
67
66
- # issues:
67
- # exclude:
68
- # - abcdef
68
+ issues :
69
+ exclude :
70
+ - " composite literal uses unkeyed fields " # govet
69
71
# exclude-use-default: true
70
72
# max-per-linter: 0
71
73
# max-same: 0
Original file line number Diff line number Diff line change @@ -195,14 +195,12 @@ test-e2e-race: gotest_extraflags=-race
195
195
test-e2e-race : test-e2e # #@tests Run e2e tests with -race flag
196
196
197
197
lint-install :
198
- go get -u github.com/client9/misspell/cmd/misspell
199
198
@# The following installs a specific version of golangci-lint, which is appropriate for a CI server to avoid different results from build to build
200
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $(GOPATH ) /bin v1.6 .1
199
+ curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $(GOPATH ) /bin v1.8 .1
201
200
202
201
lint :
203
202
@echo " lint"
204
203
@golangci-lint run ./...
205
- @find . -type f -not -path " ./.ethereumtest/*" -not -path " ./vendor/*" -not -path " ./extkeys/mnemonic.go" -not -path " ./extkeys/mnemonic_vectors.json" -print0 | xargs -0 misspell
206
204
207
205
ci : lint mock dep-ensure test-unit test-e2e # #@tests Run all linters and tests at once
208
206
You can’t perform that action at this time.
0 commit comments