File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,18 @@ issues:
139139 - path : pkg/golinters/scopelint.go
140140 text : ' directive `//nolint:interfacer` is unused for linter interfacer'
141141
142+ # TODO temporary rule, must be removed
143+ # related to https://github.com/golangci/golangci-lint/pull/1756
144+ # must be replaced by '//nolint:staticcheck // require changes in github.com/OpenPeeDeeP/depguard'
145+ - path : pkg/golinters/depguard.go
146+ text : ' SA1019: package golang.org/x/tools/go/loader is deprecated'
147+
148+ # TODO temporary rule, must be removed
149+ # related to https://github.com/golangci/golangci-lint/pull/1756
150+ # must be replaced by '///nolint:staticcheck // it's an adapter for golang.org/x/tools/go/packages'
151+ - path : pkg/golinters/goanalysis/adapters.go
152+ text : ' SA1019: package golang.org/x/tools/go/loader is deprecated'
153+
142154run :
143155 skip-dirs :
144156 - test/testdata_etc
Original file line number Diff line number Diff line change 77
88 "github.com/OpenPeeDeeP/depguard"
99 "golang.org/x/tools/go/analysis"
10- "golang.org/x/tools/go/loader" //nolint:staticcheck // require changes in github.com/OpenPeeDeeP/depguard
10+ "golang.org/x/tools/go/loader"
1111
1212 "github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
1313 "github.com/golangci/golangci-lint/pkg/lint/linter"
Original file line number Diff line number Diff line change 44 "go/types"
55
66 "golang.org/x/tools/go/analysis"
7- "golang.org/x/tools/go/loader" //nolint:staticcheck // it's an adapter for golang.org/x/tools/go/packages
7+ "golang.org/x/tools/go/loader"
88)
99
1010func MakeFakeLoaderProgram (pass * analysis.Pass ) * loader.Program {
You can’t perform that action at this time.
0 commit comments