@@ -18,7 +18,6 @@ linters:
18
18
- bidichk # Checks for dangerous unicode character sequences
19
19
- bodyclose # checks whether HTTP response body is closed successfully
20
20
- contextcheck # check the function whether use a non-inherited context
21
- - deadcode # Finds unused code
22
21
- decorder # check declaration order and count of types, constants, variables and functions
23
22
- depguard # Go linter that checks if package imports are in a list of acceptable packages
24
23
- dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f())
@@ -60,7 +59,6 @@ linters:
60
59
- predeclared # find code that shadows one of Go's predeclared identifiers
61
60
- revive # golint replacement, finds style mistakes
62
61
- staticcheck # Staticcheck is a go vet on steroids, applying a ton of static analysis checks
63
- - structcheck # Finds unused struct fields
64
62
- stylecheck # Stylecheck is a replacement for golint
65
63
- tagliatelle # Checks the struct tags.
66
64
- tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17
@@ -69,7 +67,6 @@ linters:
69
67
- unconvert # Remove unnecessary type conversions
70
68
- unparam # Reports unused function parameters
71
69
- unused # Checks Go code for unused constants, variables, functions and types
72
- - varcheck # Finds unused global variables and constants
73
70
- wastedassign # wastedassign finds wasted assignment statements
74
71
- whitespace # Tool for detection of leading and trailing whitespace
75
72
disable :
0 commit comments