Skip to content

Commit

Permalink
remove obsolete analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrodriges committed May 12, 2024
1 parent aa12aa8 commit 0a608f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/statictest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"golang.org/x/tools/go/analysis/passes/errorsas"
"golang.org/x/tools/go/analysis/passes/httpresponse"
"golang.org/x/tools/go/analysis/passes/ifaceassert"
"golang.org/x/tools/go/analysis/passes/loopclosure"
"golang.org/x/tools/go/analysis/passes/lostcancel"
"golang.org/x/tools/go/analysis/passes/nilfunc"
"golang.org/x/tools/go/analysis/passes/nilness"
Expand Down Expand Up @@ -85,8 +84,6 @@ func main() {
errorsas.Analyzer,
// check for mistakes using HTTP responses
httpresponse.Analyzer,
// check references to loop variables from within nested functions
loopclosure.Analyzer,
// check cancel func returned by context.WithCancel is called
lostcancel.Analyzer,
// check for useless comparisons between functions and nil
Expand Down

0 comments on commit 0a608f2

Please sign in to comment.