You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .golangci.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ linters:
60
60
disable-all: true
61
61
enable:
62
62
- bodyclose # checks whether HTTP response body is closed successfully [fast: false, auto-fix: false]
63
-
- depguard # Go linter that checks if package imports are in a list of acceptable packages [fast: false, auto-fix: false]
63
+
64
64
- dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f()) [fast: true, auto-fix: false]
65
65
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
66
66
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
@@ -99,6 +99,7 @@ linters:
99
99
# - asciicheck # Simple linter to check that your code does not contain non-ASCII identifiers [fast: true, auto-fix: false]
100
100
# - cyclop # checks function and package cyclomatic complexity [fast: false, auto-fix: false]
0 commit comments