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
+16-1
Original file line number
Diff line number
Diff line change
@@ -38,19 +38,28 @@ linters:
38
38
enable-all: true
39
39
# Please keep in order
40
40
disable:
41
+
- deadcode # The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
42
+
- exhaustruct # Unecessary annoying!
41
43
- exhaustivestruct # Unecessary annoying!
42
-
- goerr113 # Useful but not in this package!
44
+
- goerr113 # Useful but not in this package!
43
45
- gochecknoglobals # Too paranoic!
44
46
- goimports # Latest gci with sections is good enougth
45
47
- golint # The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive.
48
+
- ifshort # The linter 'ifshort' is deprecated (since v1.48.0) due to: The repository of the linter has been deprecated by the owner.
46
49
- interfacer # The linter 'interfacer' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner.
47
50
- ireturn # Yes! Some functions retures interfaces.
48
51
- maligned # The linter 'maligned' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner. Replaced by govet 'fieldalignment'.
49
52
- nlreturn # Personally I hate mandatory blank lines before returns.
53
+
- nosnakecase # The linter 'nosnakecase' is deprecated (since v1.48.1) due to: The repository of the linter has been deprecated by the owner. Replaced by revive(var-naming).
50
54
- paralleltest
55
+
- rowserrcheck # rowserrcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.
51
56
- scopelint # The linter 'scopelint' is deprecated (since v1.39.0) due to: The repository of the linter has been deprecated by the owner. Replaced by exportloopref.
57
+
- structcheck # structcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.
58
+
- testableexamples # New linetr, project is not adapted for this linter yet.
59
+
- varcheck # The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter. Replaced by unused.
52
60
- varnamelen # Annoying!
53
61
- unparam # Panics with GOOS=linux
62
+
- wastedassign # wastedassign is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.
0 commit comments