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
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ linters:
31
31
- errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`.
32
32
- unparam # Reports unused function parameters
33
33
- errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and reports occasions, where the check for the returned error can be omitted.
34
+
- unqueryvet # Detects SELECT * in SQL queries and SQL builders, preventing performance issues and encouraging explicit column selection.
34
35
35
36
# we allow named returns (to improve readability, in the function signatures)
36
37
# but disallow implicit (or "naked") returns, to improve readability in the actual code.
0 commit comments