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
- durationcheck # check for two durations multiplied together
168
163
- errname # Checks that sentinel errors are prefixed with the Err and error types are suffixed with the Error.
169
164
- 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.
170
-
# Removed execinquery (deprecated). execinquery is a linter about query string checker in Query function which reads your Go src files and warning it finds
171
165
- exhaustive # check exhaustiveness of enum switch statements
172
-
- exportloopref # checks for pointers to enclosing loop variables
173
166
- forbidigo # Forbids identifiers
174
167
- funlen # Tool for detection of long functions
175
168
# - gochecknoglobals # check that no global variables exist
@@ -201,7 +194,6 @@ linters:
201
194
- rowserrcheck # checks whether Err of rows is checked successfully
202
195
- sqlclosecheck # Checks that sql.Rows and sql.Stmt are closed.
203
196
- stylecheck # Stylecheck is a replacement for golint
204
-
- tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17
205
197
- testpackage # linter that makes you use a separate _test package
206
198
- tparallel # tparallel detects inappropriate usage of t.Parallel() method in your Go test codes
207
199
- unconvert # Remove unnecessary type conversions
@@ -239,12 +231,6 @@ linters:
239
231
#- tagliatelle # Checks the struct tags.
240
232
#- thelper # thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers
241
233
#- wsl # [too strict and mostly code is not more readable] Whitespace Linter - Forces you to use empty lines!
242
-
## deprecated
243
-
#- exhaustivestruct # [deprecated, replaced by exhaustruct] Checks if all struct's fields are initialized
244
-
#- golint # [deprecated, replaced by revive] Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes
245
-
#- interfacer # [deprecated] Linter that suggests narrower interface types
246
-
#- maligned # [deprecated, replaced by govet fieldalignment] Tool to detect Go structs that would take less memory if their fields were sorted
247
-
#- scopelint # [deprecated, replaced by exportloopref] Scopelint checks for unpinned variables in go programs
0 commit comments