mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-14 06:57:31 +00:00
all: cleanup unused code, part 2 (#10670)
And enable U1000 check in staticcheck. Updates #cleanup Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
This commit is contained in:
@@ -14,4 +14,5 @@ checks = [
|
||||
|
||||
"QF1004", # Use `strings.ReplaceAll` instead of `strings.Replace` with `n == 1`
|
||||
"QF1006", # Lift if+break into loop condition
|
||||
"U1000", # catch unused code
|
||||
]
|
||||
|
Reference in New Issue
Block a user