Skip to content

Commit

Permalink
chore: bump golangci-lint version, ignore _gen.go files
Browse files Browse the repository at this point in the history
1.19 has issues on the GolangCI service[1], which is fixed by upgrading.

[1]: https://golangci.com/r/github.com/loadimpact/k6/pulls/1143
  • Loading branch information
Ivan Mirić committed Oct 16, 2019
1 parent a597e7a commit 4b572a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ issues:
exclude-rules:
# Exclude duplicate code and function length and complexity checking in test
# files (due to common repeats and long functions in test code)
- path: _test\.go #TODO: also exclude all go-generated files by giving them common names? *_gen.go?
- path: _(test|gen)\.go
linters:
- gocyclo
- dupl
Expand Down Expand Up @@ -57,4 +57,4 @@ linters:
fast: false

service:
golangci-lint-version: 1.20.x #TODO: upgrade to 1.20
golangci-lint-version: 1.20.x

0 comments on commit 4b572a8

Please sign in to comment.