forked from kardianos/service
-
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.
fix: apply corrections from golangci-lint
- Loading branch information
1 parent
9e05870
commit 9d98c56
Showing
20 changed files
with
272 additions
and
199 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
linters: | ||
# Enable all available linters. | ||
# Default: false | ||
enable-all: true | ||
# Disable specific linter | ||
# https://golangci-lint.run/usage/linters/#disabled-by-default | ||
disable: | ||
- copyloopvar # we use a too old go version | ||
- intrange # we use a too old go version | ||
- execinquery # deprecated | ||
- exportloopref # deprecated | ||
# - depguard | ||
# - gci | ||
# - godox | ||
# - gofumpt | ||
- gomnd | ||
- wsl | ||
- wrapcheck # old code => no wrapped error | ||
- varnamelen | ||
- paralleltest | ||
- ireturn | ||
- mnd | ||
- testpackage | ||
- err113 # old code => no wrapped error | ||
- stylecheck | ||
- cyclop | ||
# - revive | ||
- nlreturn | ||
- exhaustruct | ||
|
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
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
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
Oops, something went wrong.