-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8d1389
commit 20daf0a
Showing
3 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
linters: | ||
enable-all: false | ||
enable: | ||
# Enabled by default in golangci-lint v1.13.2 | ||
- deadcode | ||
- errcheck | ||
- govet | ||
- ineffassign | ||
- typecheck | ||
- varcheck | ||
# Disabled by default in golangci-lint v1.13.2 | ||
- dupl | ||
- goconst | ||
- gofmt | ||
- golint | ||
- unconvert | ||
# The following result in high memory usage (>1GB) | ||
# https://github.com/golangci/golangci-lint/issues/337 | ||
- revive | ||
- staticcheck | ||
- structcheck | ||
- gosimple | ||
- unused | ||
|
||
issues: | ||
max-per-linter: 0 | ||
max-same-issues: 0 | ||
max-same-issues: 0 | ||
|
||
exclude-rules: | ||
- path: _test.go | ||
linters: | ||
- revive | ||
text: "unused-parameter:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters