File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,11 +2,15 @@ linters-settings:
22 errcheck :
33 check-type-asserts : true
44 check-blank : true
5- ignore : fmt:Fprint.*,
65 misspell :
76 locale : US
8- lll :
9- line-length : 130
107
118linters :
129 enable-all : true
10+
11+ issues :
12+ exclude-rules :
13+ - path : _test\.go
14+ linters :
15+ - lll
16+ - funlen
Original file line number Diff line number Diff line change @@ -4,24 +4,19 @@ language: go
44go :
55 - 1.11.x
66 - 1.12.x
7- - tip
8-
9- matrix :
10- allow_failures :
11- - go : tip
7+ - 1.13.x
128
139before_install :
14- - go get -u github. com/golang/dep/cmd/dep github.com/golangci/golangci-lint/cmd/golangci-lint
10+ - curl -sfL https://install.goreleaser. com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.18.0
1511
1612install :
17- - dep ensure
13+ - GO111MODULE=on go mod vendor
1814
1915before_script :
20- - golangci-lint run
16+ - golangci-lint run ./...
2117
2218script :
23- - go test -covermode=atomic -coverprofile=coverage.txt
19+ - go test -covermode=atomic -coverprofile=coverage.txt ./...
2420
2521after_success :
2622 - bash <(curl -s https://codecov.io/bash)
27-
You can’t perform that action at this time.
0 commit comments