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
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,6 @@ linters:
37
37
- errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and optionally reports occasions, where the check for the returned error can be omitted.
38
38
- errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`.
39
39
- 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.
40
-
- execinquery # Execinquery is a linter about query string checker in Query function which reads your Go src files and warning it finds.
41
40
- exportloopref # checks for pointers to enclosing loop variables
42
41
- forcetypeassert # finds forced type assertions
43
42
- gci # Gci control golang package import order and make it always deterministic.
@@ -99,22 +98,19 @@ linters:
99
98
- cyclop # checks function and package cyclomatic complexity
100
99
- depguard # Go linter that checks if package imports are in a list of acceptable packages
101
100
- exhaustive # Check exhaustiveness of enum switch statements
102
-
- exhaustivestruct # Checks if all struct's fields are initialized
103
101
- exhaustruct # Checks if all structure fields are initialized.
104
102
- forbidigo # Forbids identifiers
105
103
- funlen # Tool for detection of long functions
106
104
- gochecknoglobals # Checks that no globals are present in Go code
107
105
- gochecknoinits # Checks that no init functions are present in Go code
108
106
- godot # Check if comments end in a period
109
107
- gomnd # An analyzer to detect magic numbers.
110
-
- ifshort # Checks that your code uses short syntax for if-statements whenever possible
111
108
- inamedparam # Reports interfaces with unnamed method parameters.
112
109
- interfacebloat # A linter that checks the number of methods inside an interface
0 commit comments