Skip to content

Commit

Permalink
Sync lint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
JosefWN committed Nov 2, 2020
1 parent a6af80a commit 568e5c5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ linters:
# added
- golint
- stylecheck
- interfacer
- unconvert
- dupl
- goconst
- gofmt
- depguard
- unparam
- nakedret
- prealloc
- scopelint
- exportloopref
- gocritic
disable:
- errcheck
Expand All @@ -31,7 +29,11 @@ issues:
exclude:
- should not use built-in type string as key
- should not use basic type string as key in .*
- Using the variable on range scope .* in function literal

exclude-rules:
- path: _test\.go
linters:
- goconst

run:
build-tags:
Expand Down

0 comments on commit 568e5c5

Please sign in to comment.