Add staticcheck tool

This commit is contained in:
dwrz
2026-06-06 01:17:20 +00:00
parent 6fb63c8c90
commit ad58cd78ff
315 changed files with 56337 additions and 4 deletions

216
vendor/modules.txt vendored
View File

@@ -1,3 +1,7 @@
# github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
## explicit; go 1.18
github.com/BurntSushi/toml
github.com/BurntSushi/toml/internal
# github.com/google/uuid v1.6.0
## explicit
github.com/google/uuid
@@ -9,6 +13,9 @@ github.com/robfig/cron/v3
github.com/sashabaranov/go-openai
github.com/sashabaranov/go-openai/internal
github.com/sashabaranov/go-openai/jsonschema
# golang.org/x/exp/typeparams v0.0.0-20231108232855-2478ac86f678
## explicit; go 1.18
golang.org/x/exp/typeparams
# golang.org/x/mod v0.36.0
## explicit; go 1.25.0
golang.org/x/mod/internal/lazyregexp
@@ -35,6 +42,9 @@ golang.org/x/telemetry/internal/upload
## explicit; go 1.25.0
golang.org/x/tools/cmd/deadcode
golang.org/x/tools/cmd/goimports
golang.org/x/tools/go/analysis
golang.org/x/tools/go/analysis/passes/ctrlflow
golang.org/x/tools/go/analysis/passes/inspect
golang.org/x/tools/go/ast/astutil
golang.org/x/tools/go/ast/edge
golang.org/x/tools/go/ast/inspector
@@ -45,6 +55,7 @@ golang.org/x/tools/go/callgraph/internal/chautil
golang.org/x/tools/go/callgraph/rta
golang.org/x/tools/go/callgraph/vta
golang.org/x/tools/go/callgraph/vta/internal/trie
golang.org/x/tools/go/cfg
golang.org/x/tools/go/gcexportdata
golang.org/x/tools/go/internal/cgo
golang.org/x/tools/go/loader
@@ -90,3 +101,208 @@ golang.org/x/vuln/scan
# gopkg.in/yaml.v3 v3.0.1
## explicit
gopkg.in/yaml.v3
# honnef.co/go/tools v0.7.0
## explicit; go 1.25.0
honnef.co/go/tools/analysis/callcheck
honnef.co/go/tools/analysis/code
honnef.co/go/tools/analysis/edit
honnef.co/go/tools/analysis/facts/deprecated
honnef.co/go/tools/analysis/facts/directives
honnef.co/go/tools/analysis/facts/generated
honnef.co/go/tools/analysis/facts/nilness
honnef.co/go/tools/analysis/facts/purity
honnef.co/go/tools/analysis/facts/tokenfile
honnef.co/go/tools/analysis/facts/typedness
honnef.co/go/tools/analysis/lint
honnef.co/go/tools/analysis/report
honnef.co/go/tools/cmd/staticcheck
honnef.co/go/tools/config
honnef.co/go/tools/go/ast/astutil
honnef.co/go/tools/go/buildid
honnef.co/go/tools/go/ir
honnef.co/go/tools/go/ir/irutil
honnef.co/go/tools/go/loader
honnef.co/go/tools/go/types/typeutil
honnef.co/go/tools/internal/analysisinternal/typeindex
honnef.co/go/tools/internal/passes/buildir
honnef.co/go/tools/internal/renameio
honnef.co/go/tools/internal/robustio
honnef.co/go/tools/internal/sharedcheck
honnef.co/go/tools/internal/sync
honnef.co/go/tools/internal/typesinternal/typeindex
honnef.co/go/tools/knowledge
honnef.co/go/tools/lintcmd
honnef.co/go/tools/lintcmd/cache
honnef.co/go/tools/lintcmd/runner
honnef.co/go/tools/lintcmd/version
honnef.co/go/tools/pattern
honnef.co/go/tools/printf
honnef.co/go/tools/quickfix
honnef.co/go/tools/quickfix/qf1001
honnef.co/go/tools/quickfix/qf1002
honnef.co/go/tools/quickfix/qf1003
honnef.co/go/tools/quickfix/qf1004
honnef.co/go/tools/quickfix/qf1005
honnef.co/go/tools/quickfix/qf1006
honnef.co/go/tools/quickfix/qf1007
honnef.co/go/tools/quickfix/qf1008
honnef.co/go/tools/quickfix/qf1009
honnef.co/go/tools/quickfix/qf1010
honnef.co/go/tools/quickfix/qf1011
honnef.co/go/tools/quickfix/qf1012
honnef.co/go/tools/sarif
honnef.co/go/tools/simple
honnef.co/go/tools/simple/s1000
honnef.co/go/tools/simple/s1001
honnef.co/go/tools/simple/s1002
honnef.co/go/tools/simple/s1003
honnef.co/go/tools/simple/s1004
honnef.co/go/tools/simple/s1005
honnef.co/go/tools/simple/s1006
honnef.co/go/tools/simple/s1007
honnef.co/go/tools/simple/s1008
honnef.co/go/tools/simple/s1009
honnef.co/go/tools/simple/s1010
honnef.co/go/tools/simple/s1011
honnef.co/go/tools/simple/s1012
honnef.co/go/tools/simple/s1016
honnef.co/go/tools/simple/s1017
honnef.co/go/tools/simple/s1018
honnef.co/go/tools/simple/s1019
honnef.co/go/tools/simple/s1020
honnef.co/go/tools/simple/s1021
honnef.co/go/tools/simple/s1023
honnef.co/go/tools/simple/s1024
honnef.co/go/tools/simple/s1025
honnef.co/go/tools/simple/s1028
honnef.co/go/tools/simple/s1029
honnef.co/go/tools/simple/s1030
honnef.co/go/tools/simple/s1031
honnef.co/go/tools/simple/s1032
honnef.co/go/tools/simple/s1033
honnef.co/go/tools/simple/s1034
honnef.co/go/tools/simple/s1035
honnef.co/go/tools/simple/s1036
honnef.co/go/tools/simple/s1037
honnef.co/go/tools/simple/s1038
honnef.co/go/tools/simple/s1039
honnef.co/go/tools/simple/s1040
honnef.co/go/tools/staticcheck
honnef.co/go/tools/staticcheck/fakejson
honnef.co/go/tools/staticcheck/fakereflect
honnef.co/go/tools/staticcheck/fakexml
honnef.co/go/tools/staticcheck/sa1000
honnef.co/go/tools/staticcheck/sa1001
honnef.co/go/tools/staticcheck/sa1002
honnef.co/go/tools/staticcheck/sa1003
honnef.co/go/tools/staticcheck/sa1004
honnef.co/go/tools/staticcheck/sa1005
honnef.co/go/tools/staticcheck/sa1006
honnef.co/go/tools/staticcheck/sa1007
honnef.co/go/tools/staticcheck/sa1008
honnef.co/go/tools/staticcheck/sa1010
honnef.co/go/tools/staticcheck/sa1011
honnef.co/go/tools/staticcheck/sa1012
honnef.co/go/tools/staticcheck/sa1013
honnef.co/go/tools/staticcheck/sa1014
honnef.co/go/tools/staticcheck/sa1015
honnef.co/go/tools/staticcheck/sa1016
honnef.co/go/tools/staticcheck/sa1017
honnef.co/go/tools/staticcheck/sa1018
honnef.co/go/tools/staticcheck/sa1019
honnef.co/go/tools/staticcheck/sa1020
honnef.co/go/tools/staticcheck/sa1021
honnef.co/go/tools/staticcheck/sa1023
honnef.co/go/tools/staticcheck/sa1024
honnef.co/go/tools/staticcheck/sa1025
honnef.co/go/tools/staticcheck/sa1026
honnef.co/go/tools/staticcheck/sa1027
honnef.co/go/tools/staticcheck/sa1028
honnef.co/go/tools/staticcheck/sa1029
honnef.co/go/tools/staticcheck/sa1030
honnef.co/go/tools/staticcheck/sa1031
honnef.co/go/tools/staticcheck/sa1032
honnef.co/go/tools/staticcheck/sa2000
honnef.co/go/tools/staticcheck/sa2001
honnef.co/go/tools/staticcheck/sa2002
honnef.co/go/tools/staticcheck/sa2003
honnef.co/go/tools/staticcheck/sa3000
honnef.co/go/tools/staticcheck/sa3001
honnef.co/go/tools/staticcheck/sa4000
honnef.co/go/tools/staticcheck/sa4001
honnef.co/go/tools/staticcheck/sa4003
honnef.co/go/tools/staticcheck/sa4004
honnef.co/go/tools/staticcheck/sa4005
honnef.co/go/tools/staticcheck/sa4006
honnef.co/go/tools/staticcheck/sa4008
honnef.co/go/tools/staticcheck/sa4009
honnef.co/go/tools/staticcheck/sa4010
honnef.co/go/tools/staticcheck/sa4011
honnef.co/go/tools/staticcheck/sa4012
honnef.co/go/tools/staticcheck/sa4013
honnef.co/go/tools/staticcheck/sa4014
honnef.co/go/tools/staticcheck/sa4015
honnef.co/go/tools/staticcheck/sa4016
honnef.co/go/tools/staticcheck/sa4017
honnef.co/go/tools/staticcheck/sa4018
honnef.co/go/tools/staticcheck/sa4019
honnef.co/go/tools/staticcheck/sa4020
honnef.co/go/tools/staticcheck/sa4021
honnef.co/go/tools/staticcheck/sa4022
honnef.co/go/tools/staticcheck/sa4023
honnef.co/go/tools/staticcheck/sa4024
honnef.co/go/tools/staticcheck/sa4025
honnef.co/go/tools/staticcheck/sa4026
honnef.co/go/tools/staticcheck/sa4027
honnef.co/go/tools/staticcheck/sa4028
honnef.co/go/tools/staticcheck/sa4029
honnef.co/go/tools/staticcheck/sa4030
honnef.co/go/tools/staticcheck/sa4031
honnef.co/go/tools/staticcheck/sa4032
honnef.co/go/tools/staticcheck/sa5000
honnef.co/go/tools/staticcheck/sa5001
honnef.co/go/tools/staticcheck/sa5002
honnef.co/go/tools/staticcheck/sa5003
honnef.co/go/tools/staticcheck/sa5004
honnef.co/go/tools/staticcheck/sa5005
honnef.co/go/tools/staticcheck/sa5007
honnef.co/go/tools/staticcheck/sa5008
honnef.co/go/tools/staticcheck/sa5009
honnef.co/go/tools/staticcheck/sa5010
honnef.co/go/tools/staticcheck/sa5011
honnef.co/go/tools/staticcheck/sa5012
honnef.co/go/tools/staticcheck/sa6000
honnef.co/go/tools/staticcheck/sa6001
honnef.co/go/tools/staticcheck/sa6002
honnef.co/go/tools/staticcheck/sa6003
honnef.co/go/tools/staticcheck/sa6005
honnef.co/go/tools/staticcheck/sa6006
honnef.co/go/tools/staticcheck/sa9001
honnef.co/go/tools/staticcheck/sa9002
honnef.co/go/tools/staticcheck/sa9003
honnef.co/go/tools/staticcheck/sa9004
honnef.co/go/tools/staticcheck/sa9005
honnef.co/go/tools/staticcheck/sa9006
honnef.co/go/tools/staticcheck/sa9007
honnef.co/go/tools/staticcheck/sa9008
honnef.co/go/tools/staticcheck/sa9009
honnef.co/go/tools/stylecheck
honnef.co/go/tools/stylecheck/st1000
honnef.co/go/tools/stylecheck/st1001
honnef.co/go/tools/stylecheck/st1003
honnef.co/go/tools/stylecheck/st1005
honnef.co/go/tools/stylecheck/st1006
honnef.co/go/tools/stylecheck/st1008
honnef.co/go/tools/stylecheck/st1011
honnef.co/go/tools/stylecheck/st1012
honnef.co/go/tools/stylecheck/st1013
honnef.co/go/tools/stylecheck/st1015
honnef.co/go/tools/stylecheck/st1016
honnef.co/go/tools/stylecheck/st1017
honnef.co/go/tools/stylecheck/st1018
honnef.co/go/tools/stylecheck/st1019
honnef.co/go/tools/stylecheck/st1020
honnef.co/go/tools/stylecheck/st1021
honnef.co/go/tools/stylecheck/st1022
honnef.co/go/tools/stylecheck/st1023
honnef.co/go/tools/unused