Skip to content

Commit

Permalink
WIP remove alias analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikh committed Apr 24, 2024
1 parent f00ed28 commit 9d08dac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions cmd/staticcheck/staticcheck.go
Expand Up @@ -12,8 +12,6 @@ import (
"honnef.co/go/tools/staticcheck"
"honnef.co/go/tools/stylecheck"
"honnef.co/go/tools/unused"

"golang.org/x/tools/go/analysis/passes/alias"
)

func main() {
Expand All @@ -30,7 +28,6 @@ func main() {
cmd.AddAnalyzers(staticcheck.Analyzers...)
cmd.AddAnalyzers(stylecheck.Analyzers...)
cmd.AddAnalyzers(unused.Analyzer)
cmd.AddBareAnalyzers(alias.Analyzer)

if *qf {
cmd.AddAnalyzers(quickfix.Analyzers...)
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Expand Up @@ -14,5 +14,3 @@ require (
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sync v0.7.0 // indirect
)

replace golang.org/x/tools => /home/dominikh/prj/src/golang.org/x/tools

0 comments on commit 9d08dac

Please sign in to comment.