Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Nov 14, 2024
1 parent 42c2f40 commit 1244eba
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 612 deletions.
12 changes: 0 additions & 12 deletions build/linter/bootstrap/BUILD.bazel

This file was deleted.

167 changes: 0 additions & 167 deletions build/linter/bootstrap/analyzer.go

This file was deleted.

12 changes: 0 additions & 12 deletions build/linter/copyloopvar/BUILD.bazel

This file was deleted.

27 changes: 0 additions & 27 deletions build/linter/copyloopvar/analyzer.go

This file was deleted.

14 changes: 0 additions & 14 deletions build/linter/deferrecover/BUILD.bazel

This file was deleted.

84 changes: 0 additions & 84 deletions build/linter/deferrecover/analyzer.go

This file was deleted.

5 changes: 1 addition & 4 deletions build/linter/gofmt/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ func run(pass *analysis.Pass) (any, error) {
fileNames = append(fileNames, pos.Filename)
}
}
rules := []gofmt.RewriteRule{{
Pattern: "interface{}",
Replacement: "any",
}}
rules := []gofmt.RewriteRule{}
for _, f := range fileNames {
diff, err := gofmt.RunRewrite(f, needSimplify, rules)
if err != nil {
Expand Down
12 changes: 0 additions & 12 deletions build/linter/intrange/BUILD.bazel

This file was deleted.

28 changes: 0 additions & 28 deletions build/linter/intrange/analyzer.go

This file was deleted.

12 changes: 0 additions & 12 deletions build/linter/lll/BUILD.bazel

This file was deleted.

Loading

0 comments on commit 1244eba

Please sign in to comment.