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
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ linters:
27
27
- asciicheck # Simple linter to check that your code does not contain non-ASCII identifiers
28
28
- bidichk # Checks for dangerous unicode character sequences
29
29
- bodyclose # Checks whether HTTP response body is closed successfully
30
-
#- copyloopvar # Detects places where loop variables are copied
30
+
- copyloopvar # Detects places where loop variables are copied
31
31
- decorder # Check declaration order and count of types, constants, variables and functions
32
32
- dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f())
33
33
- dupl # Tool for code clone detection
@@ -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
-
- exportloopref # checks for pointers to enclosing loop variables
41
40
- forcetypeassert # finds forced type assertions
42
41
- gci # Gci control golang package import order and make it always deterministic.
43
42
- gocheckcompilerdirectives # Checks that go compiler directive comments (//go:) are valid.
0 commit comments