Add structcheck, unused, and varcheck linters.
Warn on unused and dead code Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
@@ -24,7 +24,6 @@ func TestRootPath(t *testing.T) {
|
||||
name string
|
||||
apply fstest.Applier
|
||||
checks []RootCheck
|
||||
scope func(string) (string, error)
|
||||
}{
|
||||
{
|
||||
name: "SymlinkAbsolute",
|
||||
|
||||
Reference in New Issue
Block a user