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